aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2013-08-14 11:25:21 -0400
committerSteve French <smfrench@gmail.com>2013-09-08 15:27:34 -0400
commitb42bf88828cde60772dc08201d0a4f1a0663d7bc (patch)
tree3b019e905c83aba6578b56ae5a49669f59db23cf /fs/cifs/cifsglob.h
parent3ae35cde67c1ec50267bcc55d81f4953b5f637c2 (diff)
CIFS: Implement follow_link for SMB2
that allows to access files through symlink created on a server. Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> 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 52ca861ed35e..ec6c3fbb29eb 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -308,6 +308,9 @@ struct smb_version_operations {
308 int (*create_hardlink)(const unsigned int, struct cifs_tcon *, 308 int (*create_hardlink)(const unsigned int, struct cifs_tcon *,
309 const char *, const char *, 309 const char *, const char *,
310 struct cifs_sb_info *); 310 struct cifs_sb_info *);
311 /* query symlink target */
312 int (*query_symlink)(const unsigned int, struct cifs_tcon *,
313 const char *, char **, struct cifs_sb_info *);
311 /* open a file for non-posix mounts */ 314 /* open a file for non-posix mounts */
312 int (*open)(const unsigned int, struct cifs_open_parms *, 315 int (*open)(const unsigned int, struct cifs_open_parms *,
313 __u32 *, FILE_ALL_INFO *); 316 __u32 *, FILE_ALL_INFO *);