Ext3: return ENOMEM rather than EIO if sb_getblk fails
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Wed, 16 Jan 2013 05:20:01 +0000 (21:20 -0800)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2013 10:19:57 +0000 (11:19 +0100)
commitc04e88e271ab67de1409c3b4a4e80dbe13eac7b0
tree31c46c27fedef5d19cecaaccf2abdd2e0a00c981
parentab6a773dbcbd2bba3ead8676ae21ce5adbbdc035
Ext3: return ENOMEM rather than EIO if sb_getblk fails

It will be better to use ENOMEM rather than EIO, because the only
reason that sb_getblk fails is that allocation fails.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c
fs/ext3/resize.c
fs/ext3/xattr.c