diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-19 09:22:43 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:32 -0400 |
commit | d39a4f710b7a7be05b6ed9d4ab8fac754c139f8a (patch) | |
tree | fad6f02af54ad574a7dd189f695b602e0c04f816 /fs/cifs/cifsglob.h | |
parent | f45d34167c67b083b54690e349e77f59062ef0ea (diff) |
CIFS: Move brlock code to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index b2eb577b5f3f..d3c72713fec4 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -353,6 +353,14 @@ struct smb_version_operations { | |||
353 | /* query remote filesystem */ | 353 | /* query remote filesystem */ |
354 | int (*queryfs)(const unsigned int, struct cifs_tcon *, | 354 | int (*queryfs)(const unsigned int, struct cifs_tcon *, |
355 | struct kstatfs *); | 355 | struct kstatfs *); |
356 | /* send mandatory brlock to the server */ | ||
357 | int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64, | ||
358 | __u64, __u32, int, int, bool); | ||
359 | /* unlock range of mandatory locks */ | ||
360 | int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *, | ||
361 | const unsigned int); | ||
362 | /* push brlocks from the cache to the server */ | ||
363 | int (*push_mand_locks)(struct cifsFileInfo *); | ||
356 | }; | 364 | }; |
357 | 365 | ||
358 | struct smb_version_values { | 366 | struct smb_version_values { |