gfs2: Fix invalid block size message

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
This commit is contained in:
Andrew Price 2021-01-12 11:46:56 +00:00 committed by Bob Peterson
parent 00e8e9bc3c
commit bff2e532d4
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent)
if (sb->sb_bsize < 512 || sb->sb_bsize > PAGE_SIZE || if (sb->sb_bsize < 512 || sb->sb_bsize > PAGE_SIZE ||
(sb->sb_bsize & (sb->sb_bsize - 1))) { (sb->sb_bsize & (sb->sb_bsize - 1))) {
pr_warn("Invalid superblock size\n"); pr_warn("Invalid block size\n");
return -EINVAL; return -EINVAL;
} }