not overwriting file_lock structure after GET_LK
authorPavel Shilovsky <piastryyy@gmail.com>
Mon, 5 Apr 2010 05:59:14 +0000 (09:59 +0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 6 Apr 2010 17:24:26 +0000 (17:24 +0000)
If we have preventing lock, cifs should overwrite file_lock structure
with info about preventing lock. If we haven't preventing lock, cifs
should leave it unchanged except for the lock type (change it to F_UNLCK).

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found