aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorDaeseok Youn <[email protected]>2015-06-24 23:55:01 +0000
committerLinus Torvalds <[email protected]>2015-06-25 00:49:39 +0000
commit2e173152420a9595bbfccbd8cdba0cd3c160fefc (patch)
tree46270c1efc08ac1937ae9ac9c555e1e09a851438 /fs/proc/array.c
parentocfs2: fix a tiny race when truncate dio orohaned entry (diff)
downloadkernel-2e173152420a9595bbfccbd8cdba0cd3c160fefc.tar.gz
kernel-2e173152420a9595bbfccbd8cdba0cd3c160fefc.zip
ocfs2: use retval instead of status for checking error
The use of 'status' in __ocfs2_add_entry() can return wrong value. Some functions' return value in __ocfs2_add_entry(), i.e ocfs2_journal_access_di() is saved to 'status'. But 'status' is not used in 'bail' label for returning result of __ocfs2_add_entry(). So use retval instead of status. Signed-off-by: Daeseok Youn <[email protected]> Reviewed-by: Joseph Qi <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions