summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky2012-03-17 09:41:12 +0100
committerSteve French2012-07-27 22:17:40 +0200
commitf436720e94ac53413e20c48b02d16e2ef180e166 (patch)
treefa831b67f689a847fcdb0942ad624c6d060594de /fs/cifs/cifsglob.h
parentCIFS: Simplify cifs_mkdir call (diff)
downloadkernel-qcow2-linux-f436720e94ac53413e20c48b02d16e2ef180e166.tar.gz
kernel-qcow2-linux-f436720e94ac53413e20c48b02d16e2ef180e166.tar.xz
kernel-qcow2-linux-f436720e94ac53413e20c48b02d16e2ef180e166.zip
CIFS: Separate protocol specific part from mkdir
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 497da5ce704c..939f91aac162 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -246,6 +246,13 @@ struct smb_version_operations {
bool (*can_echo)(struct TCP_Server_Info *);
/* send echo request */
int (*echo)(struct TCP_Server_Info *);
+ /* create directory */
+ int (*mkdir)(const unsigned int, struct cifs_tcon *, const char *,
+ struct cifs_sb_info *);
+ /* set info on created directory */
+ void (*mkdir_setinfo)(struct inode *, const char *,
+ struct cifs_sb_info *, struct cifs_tcon *,
+ const unsigned int);
};
struct smb_version_values {