CIFS: Implement cifs_relock_file
authorPavel Shilovsky <piastry@etersoft.ru>
Thu, 22 Nov 2012 13:10:57 +0000 (17:10 +0400)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:27:29 +0000 (13:27 -0600)
commitf152fd5fffa78910c467b17f12d0aa060aa408a6
tree156a6466d1cc3b79a82d7520615d9be0feb71d13
parentb8db928b765b4b0fe1aec3eb7f1741fedbed9a33
CIFS: Implement cifs_relock_file

that reacquires byte-range locks when a file is reopened.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c