]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Reconnect durable handles for SMB2
authorPavel Shilovsky <pshilovsky@samba.org>
Tue, 9 Jul 2013 14:40:58 +0000 (18:40 +0400)
committerSteve French <smfrench@gmail.com>
Wed, 10 Jul 2013 18:08:40 +0000 (13:08 -0500)
commit12ef31b6da50d9f09c8720128f2f9176939fc102
treeaf06d88f00880c95d35c584338fbdebf1112843e
parent4b964245baa381dd12f68f129b861ea2b0270ebd
CIFS: Reconnect durable handles for SMB2

On reconnects, we need to reopen file and then obtain all byte-range
locks held by the client. SMB2 protocol provides feature to make
this process atomic by reconnecting to the same file handle
with all it's byte-range locks. This patch adds this capability
for SMB2 shares.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steven French <steven@steven-GA-970A-DS3.(none)>
fs/cifs/cifsglob.h
fs/cifs/dir.c
fs/cifs/file.c
fs/cifs/smb2file.c
fs/cifs/smb2inode.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h