summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-01-12 16:19:36 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-04 06:03:36 +0800
commit94bd696b65ded45d57f4a9563edf4e8b77dc070f (patch)
tree60056bf065e66bf36e422ec57f6701ea2dc216ef /fs/ext4/super.c
parent84d239fa2e3c0ab232577774dd35596b049de235 (diff)
ext4: return ENOMEM if sb_getblk() fails
commit 860d21e2c585f7ee8a4ecc06f474fdc33c9474f4 upstream. The only reason for sb_getblk() failing is if it can't allocate the buffer_head. So ENOMEM is more appropriate than EIO. In addition, make sure that the file system is marked as being inconsistent if sb_getblk() fails. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions