summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <piastryyy@gmail.com>2011-07-19 10:56:37 +0200
committerSteve French <smfrench@gmail.com>2012-07-27 22:17:43 +0200
commita0e731839dd461eee0fe2dc026e0965e961e2730 (patch)
treea263e2f49d0c427154c2cfb0446dbe29e53612ce /fs/cifs/smb2proto.h
parentCIFS: Separate protocol specific part from mkdir (diff)
downloadlinux-a0e731839dd461eee0fe2dc026e0965e961e2730.tar.xz
linux-a0e731839dd461eee0fe2dc026e0965e961e2730.zip
CIFS: Add SMB2 support for mkdir operation
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index 902bbe2b5ad3..f9925082737c 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -52,6 +52,12 @@ extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
const char *full_path, FILE_ALL_INFO *data,
bool *adjust_tz);
+extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
+ const char *name, struct cifs_sb_info *cifs_sb);
+extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
+ struct cifs_sb_info *cifs_sb,
+ struct cifs_tcon *tcon, const unsigned int xid);
+
/*
* SMB2 Worker functions - most of protocol specific implementation details
* are contained within these calls.