summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-18 16:20:28 -0700
committerSteve French <smfrench@gmail.com>2012-09-24 21:46:27 -0500
commit7a5cfb1965854132f2f382eade8c6ce2eeb6f692 (patch)
tree93f982d31fbcf23418423319be26ca77b364f83c /fs/cifs/smb2proto.h
parent1d8c4c0009deda22b436b1f0ab9f2885863717fc (diff)
downloadop-kernel-dev-7a5cfb1965854132f2f382eade8c6ce2eeb6f692.zip
op-kernel-dev-7a5cfb1965854132f2f382eade8c6ce2eeb6f692.tar.gz
CIFS: Add SMB2 support for flush
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index 624d344..51e6cd1 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -89,6 +89,8 @@ extern int SMB2_open(const unsigned int xid, struct cifs_tcon *tcon,
struct smb2_file_all_info *buf);
extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
u64 persistent_file_id, u64 volatile_file_id);
+extern int SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon,
+ u64 persistent_file_id, u64 volatile_file_id);
extern int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon,
u64 persistent_file_id, u64 volatile_file_id,
struct smb2_file_all_info *data);
OpenPOWER on IntegriCloud