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:
parent
00e8e9bc3c
commit
bff2e532d4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue