diff options
| author | Eric Ren <[email protected]> | 2016-05-26 22:16:16 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-26 22:35:44 +0000 |
| commit | 1f3a437fa027c75b26a64e2e71d7c374ff70f866 (patch) | |
| tree | 7c0764d7a80886cd484e158ce17910e2c81bb338 /lib/dma-debug.c | |
| parent | mm: slub: remove unused virt_to_obj() (diff) | |
| download | kernel-1f3a437fa027c75b26a64e2e71d7c374ff70f866.tar.gz kernel-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/[email protected]
Signed-off-by: Eric Ren <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
