ext4: fix wrong return value in ext4_read_inode_bitmap()
authorWang Shilong <wshilong@ddn.com>
Sat, 12 May 2018 15:35:01 +0000 (11:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 May 2018 15:35:01 +0000 (11:35 -0400)
commit0db9fdeb347c10f64b679577f2640c9e35ea5a30
tree355a5f71145fd6262f741b06770cc1a60af8b420
parente254d1afac83fd441e4051771b3d8f5eaf49fd3a
ext4: fix wrong return value in ext4_read_inode_bitmap()

The only reason that sb_getblk() could fail is out of memory,
ext4 codes have returned -ENOMME for all other places except this
one, let's fix it here too.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ialloc.c