aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-18 19:20:33 -0400
committerSteve French <smfrench@gmail.com>2012-09-24 22:46:30 -0400
commit2e44b2887882134abf353b28867b82645e9f0856 (patch)
tree963236eb542e26b046960f72f9ec47ae8e339a76 /fs/cifs/smb2proto.h
parentd324f08d6a87149597817f4496ef0f7ac185e8da (diff)
CIFS: Process oplocks for SMB2
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index 0d29db222a5a..d18339fcc8a2 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -82,6 +82,7 @@ extern int smb2_open_file(const unsigned int xid, struct cifs_tcon *tcon,
82 int desired_access, int create_options, 82 int desired_access, int create_options,
83 struct cifs_fid *fid, __u32 *oplock, 83 struct cifs_fid *fid, __u32 *oplock,
84 FILE_ALL_INFO *buf, struct cifs_sb_info *cifs_sb); 84 FILE_ALL_INFO *buf, struct cifs_sb_info *cifs_sb);
85extern void smb2_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock);
85 86
86/* 87/*
87 * SMB2 Worker functions - most of protocol specific implementation details 88 * SMB2 Worker functions - most of protocol specific implementation details
@@ -99,7 +100,7 @@ extern int SMB2_open(const unsigned int xid, struct cifs_tcon *tcon,
99 __le16 *path, u64 *persistent_fid, u64 *volatile_fid, 100 __le16 *path, u64 *persistent_fid, u64 *volatile_fid,
100 __u32 desired_access, __u32 create_disposition, 101 __u32 desired_access, __u32 create_disposition,
101 __u32 file_attributes, __u32 create_options, 102 __u32 file_attributes, __u32 create_options,
102 struct smb2_file_all_info *buf); 103 __u8 *oplock, struct smb2_file_all_info *buf);
103extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon, 104extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
104 u64 persistent_file_id, u64 volatile_file_id); 105 u64 persistent_file_id, u64 volatile_file_id);
105extern int SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon, 106extern int SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon,