diff options
| author | Pavel Shilovsky <[email protected]> | 2011-10-29 17:17:58 +0400 |
|---|---|---|
| committer | Steve French <[email protected]> | 2011-11-04 00:53:15 -0500 |
| commit | 161ebf9fcca967e7396bb076af5ed18539497a3f (patch) | |
| tree | 3e7496b6358740e5d2bdff78739393832dad5700 /include/linux/mutex-debug.h | |
| parent | 1a67a573b8d9f02211f36fbab50f6265dc49384a (diff) | |
CIFS: Simplify setlk error handling for mandatory locking
Now we allocate a lock structure at first, then we request to the server
and save the lock if server returned OK though void function - it prevents
the situation when we locked a file on the server and then return -ENOMEM
from setlk.
Signed-off-by: Pavel Shilovsky <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'include/linux/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions