diff options
author | Pavel Shilovsky <[email protected]> | 2012-03-27 15:36:15 +0400 |
---|---|---|
committer | Steve French <[email protected]> | 2012-03-31 17:30:48 -0500 |
commit | b5efb978469d152c2c7c0a09746fb0bfc6171868 (patch) | |
tree | 18d46e1ef3bdf9bbb2df7f8e72b0c1e2ac2919fd /net/lapb/lapb_timer.c | |
parent | fa2a4519cb6ad94224eb56a1341fff570fd44ea1 (diff) |
CIFS: Fix VFS lock usage for oplocked files
We can deadlock if we have a write oplock and two processes
use the same file handle. In this case the first process can't
unlock its lock if another process blocked on the lock in the
same time.
Fix this by removing lock_mutex protection from waiting on a
blocked lock and protect only posix_lock_file call.
Cc: [email protected]
Signed-off-by: Pavel Shilovsky <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions