summaryrefslogtreecommitdiffstats
path: root/firmware/tehuti
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2014-04-03 23:47:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:20:56 +0200
commite228f6439862359f9b26f9d62634e4fce180b54a (patch)
tree851d13a3446d8a00fad17470c2c33cd00b27c632 /firmware/tehuti
parentocfs2: call ocfs2_update_inode_fsync_trans when updating any inode (diff)
downloadlinux-e228f6439862359f9b26f9d62634e4fce180b54a.tar.xz
linux-e228f6439862359f9b26f9d62634e4fce180b54a.zip
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. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Cc: Joel Becker <jlbec@evilplan.org> Reviewed-by: Mark Fasheh <mfasheh@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions