aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorRobin Dong <[email protected]>2011-05-05 02:44:04 +0000
committerJan Kara <[email protected]>2011-05-17 11:47:42 +0000
commit4e299c1d9113b5c1c3845c0d4e78d09dd60a4fe8 (patch)
tree24d209ff8fe59ec0e43fd88be35f45bd687bc975 /fs/jbd/commit.c
parentjbd: fix fsync() tid wraparound bug (diff)
downloadkernel-4e299c1d9113b5c1c3845c0d4e78d09dd60a4fe8.tar.gz
kernel-4e299c1d9113b5c1c3845c0d4e78d09dd60a4fe8.zip
ext2: fix error msg when mounting fs with too-large blocksize
When ext2 mounts a filesystem, it attempts to set the block device blocksize with a call to sb_set_blocksize, which can fail for several reasons. The current failure message in ext2 prints: EXT2-fs (loop1): error: blocksize is too small which is not correct in all cases. This can be demonstrated by creating a filesystem with # mkfs.ext2 -b 8192 on a 4k page system, and attempting to mount it. Change the error message to a more generic: EXT2-fs (loop1): bad blocksize 8192 to match the error message in ext3. Signed-off-by: Robin Dong <[email protected]> Reviewed-by: Coly Li <[email protected]> Reviewed-by: Eric Sandeen <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions