diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-10-29 15:17:58 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-11-04 06:53:15 +0100 |
commit | 161ebf9fcca967e7396bb076af5ed18539497a3f (patch) | |
tree | 3e7496b6358740e5d2bdff78739393832dad5700 /usr | |
parent | Merge git://git.samba.org/sfrench/cifs-2.6 (diff) | |
download | linux-161ebf9fcca967e7396bb076af5ed18539497a3f.tar.xz linux-161ebf9fcca967e7396bb076af5ed18539497a3f.zip |
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 <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions