summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2013-11-25 17:09:52 +0000
committerSteve French <smfrench@gmail.com>2014-01-20 00:14:00 -0600
commitcbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc (patch)
treeea11e115ecfc85225e7abda30ccf75db5996f3cf /fs/cifs/cifsglob.h
parent8205d1bb31af047c6893a4f9e86ed88cf5d6113d (diff)
downloadtalos-op-linux-cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc.tar.gz
talos-op-linux-cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc.zip
cifs: Add create MFSymlinks to protocol ops struct
Add a new protocol ops function create_mf_symlink and have create_mf_symlink() use it. This patchset moves the MFSymlink operations completely to the ops structure so that we only use the right protocol versions when querying or creating MFSymlinks. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index fba4d1341f88..61228b7f6b67 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -373,6 +373,9 @@ struct smb_version_operations {
int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
struct cifs_sb_info *, const unsigned char *,
char *, unsigned int *);
+ int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
+ struct cifs_sb_info *, const unsigned char *,
+ char *, unsigned int *);
/* if we can do cache read operations */
bool (*is_read_op)(__u32);
/* set oplock level for the inode */
OpenPOWER on IntegriCloud