summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorEric Ren <zren@suse.com>2016-05-27 00:16:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-27 00:35:44 +0200
commit1f3a437fa027c75b26a64e2e71d7c374ff70f866 (patch)
tree7c0764d7a80886cd484e158ce17910e2c81bb338 /mm
parentmm: slub: remove unused virt_to_obj() (diff)
downloadlinux-1f3a437fa027c75b26a64e2e71d7c374ff70f866.tar.xz
linux-1f3a437fa027c75b26a64e2e71d7c374ff70f866.zip
ocfs2: fix improper handling of return errno
Previously, if a bad inode was found in ocfs2_iget(), -ESTALE was returned back to the caller anyway. Since commit d2b9d71a2da7 ("ocfs2: check/fix inode block for online file check") can handle with return value from ocfs2_read_locked_inode() now, we know the exact errno returned for us. Link: http://lkml.kernel.org/r/1463970656-18413-1-git-send-email-zren@suse.com Signed-off-by: Eric Ren <zren@suse.com> Reviewed-by: Joseph Qi <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions