diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-19 06:22:43 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 21:46:32 -0500 |
commit | d39a4f710b7a7be05b6ed9d4ab8fac754c139f8a (patch) | |
tree | fad6f02af54ad574a7dd189f695b602e0c04f816 /fs/cifs/cifsproto.h | |
parent | f45d34167c67b083b54690e349e77f59062ef0ea (diff) | |
download | linux-d39a4f710b7a7be05b6ed9d4ab8fac754c139f8a.tar.bz2 |
CIFS: Move brlock code to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 3b628f2af258..a7e238f88898 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -124,6 +124,9 @@ extern u64 cifs_UnixTimeToNT(struct timespec); extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, int offset); extern void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock); +extern int cifs_unlock_range(struct cifsFileInfo *cfile, + struct file_lock *flock, const unsigned int xid); +extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile); extern struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file, |