gfs2: Fix invalid block size message
PATCH 1/1 gfs2: Fix invalid block size message
Signed-off-by Andrew Price <[email protected]>
--- fs/gfs2/ops_fstype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/gfs2/ops_fstype.c +1 -1
@@ -180,7 +180,7 @@ static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent)if (sb->sb_bsize <512 || sb->sb_bsize >PAGE_SIZE || (sb->sb_bsize & (sb->sb_bsize -1 ))) { -pr_warn ("Invalid superblock size\n" ); +pr_warn ("Invalid block size\n" );return -EINVAL ; }
Signature · 1 line
2.29.2
Andreas Gruenbacher
maintainerPATCH 1/1 gfs2: Fix invalid block size message
Quoted 10 lines · Andrew Price
Signed-off-by Andrew Price <[email protected]>--- fs/gfs2/ops_fstype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/gfs2/ops_fstype.c +0
-0
fs/gfs2/ops_fstype.c static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) · line 185
Quoted 7 lines
fs/gfs2/ops_fstype.c +1
-1@@ -180,7 +180,7 @@ static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent)if (sb->sb_bsize <512 || sb->sb_bsize >PAGE_SIZE || (sb->sb_bsize & (sb->sb_bsize -1 ))) { -pr_warn ("Invalid superblock size\n" ); +pr_warn ("Invalid block size\n" );return -EINVAL ; }
Added, thanks.
Andreas