ext4: Check for return value from sb_set_blocksize
commitce40733ce93de402ed629762f0e912d9af187cef
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 29 Jan 2008 04:58:27 +0000 (28 23:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000 (28 23:58 -0500)
treeb52c78ac15120151ea688550ba4f6ce619d471c0
parentcb45bbe44b09f35bb12d67ffa7ecff862608aeae
ext4: Check for return value from sb_set_blocksize

sb_set_blocksize validates whether the specfied block size can be used by
the file system. Make sure we fail mounting the file system if the
blocksize specfied cannot be used.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
fs/ext4/super.c