summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-19 15:22:43 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:32 +0200
commitd39a4f710b7a7be05b6ed9d4ab8fac754c139f8a (patch)
treefad6f02af54ad574a7dd189f695b602e0c04f816 /fs/cifs/cifsproto.h
parentCIFS: Remove spinlock dependence in brlock processing (diff)
downloadlinux-d39a4f710b7a7be05b6ed9d4ab8fac754c139f8a.tar.xz
linux-d39a4f710b7a7be05b6ed9d4ab8fac754c139f8a.zip
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.h3
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,