aboutsummaryrefslogtreecommitdiff
path: root/fs/ext3/inode.c
diff options
context:
space:
mode:
authorGravatar Wang Shilong <wangsl-fnst@cn.fujitsu.com> 2013-01-15 21:19:06 -0800
committerGravatar Jan Kara <jack@suse.cz> 2013-01-21 11:19:57 +0100
commitab6a773dbcbd2bba3ead8676ae21ce5adbbdc035 (patch)
tree592ec692b6eb5136fe942af8ec30deb7878845f6 /fs/ext3/inode.c
parentExt3: use unlikely to improve the efficiency of the kernel (diff)
downloadlinux-ab6a773dbcbd2bba3ead8676ae21ce5adbbdc035.tar.gz
linux-ab6a773dbcbd2bba3ead8676ae21ce5adbbdc035.tar.bz2
linux-ab6a773dbcbd2bba3ead8676ae21ce5adbbdc035.zip
Ext2: return ENOMEM rather than EIO if sb_getblk fails
As the only reason that sb_getblks fails is that allocation fails. It will be better to use ENOMEM rather than EIO. Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3/inode.c')
0 files changed, 0 insertions, 0 deletions