aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWengang Wang <[email protected]>2014-04-03 14:47:09 -0700
committerLinus Torvalds <[email protected]>2014-04-03 16:20:56 -0700
commite228f6439862359f9b26f9d62634e4fce180b54a (patch)
tree851d13a3446d8a00fad17470c2c33cd00b27c632 /tools/perf/scripts/python
parent6fdb702d6262b18b1b41a35f1f81903b0a2bc2c9 (diff)
ocfs2: flock: drop cross-node lock when failed locally
ocfs2_do_flock() calls ocfs2_file_lock() to get the cross-node clock and then call flock_lock_file_wait() to compete with local processes. In case flock_lock_file_wait() failed, say -ENOMEM, clean up work is not done. This patch adds the cleanup --drop the cross-node lock which was just granted. [[email protected]: coding-style fixes] Signed-off-by: Wengang Wang <[email protected]> Cc: Joel Becker <[email protected]> Reviewed-by: Mark Fasheh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions