Skip to contentSkip to conversation

gfs2: Fix invalid block size message

PATCH New Andrew Price 2 participants 2 messages Jan 12, 2021 GFS2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gfs2: Fix invalid block size message

---
 fs/gfs2/ops_fstype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/gfs2/ops_fstype.c +1 -1
index 64ad19bb978c..5a0fde5e67d9 100644
@@ -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
#1 lore raw

PATCH 1/1 gfs2: Fix invalid block size message

Quoted 10 lines · Andrew Price
---
 fs/gfs2/ops_fstype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/gfs2/ops_fstype.c +0 -0
index 64ad19bb978c..5a0fde5e67d9 100644

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