diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2013-08-14 11:25:22 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-09-08 15:27:41 -0400 |
commit | d244bf2dfbebfded05f494ffd53659fa7b1e32c1 (patch) | |
tree | 7dde97c81405cf271463025cb7f42f1b52e282bb /fs/cifs/cifsproto.h | |
parent | b42bf88828cde60772dc08201d0a4f1a0663d7bc (diff) |
CIFS: Implement follow_link for nounix CIFS mounts
by using a query reparse ioctl request.
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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index b29a012bed33..5b05eb082a41 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -357,13 +357,9 @@ extern int CIFSSMBUnixQuerySymLink(const unsigned int xid, | |||
357 | struct cifs_tcon *tcon, | 357 | struct cifs_tcon *tcon, |
358 | const unsigned char *searchName, char **syminfo, | 358 | const unsigned char *searchName, char **syminfo, |
359 | const struct nls_table *nls_codepage); | 359 | const struct nls_table *nls_codepage); |
360 | #ifdef CONFIG_CIFS_SYMLINK_EXPERIMENTAL | 360 | extern int CIFSSMBQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon, |
361 | extern int CIFSSMBQueryReparseLinkInfo(const unsigned int xid, | 361 | __u16 fid, char **symlinkinfo, |
362 | struct cifs_tcon *tcon, | 362 | const struct nls_table *nls_codepage); |
363 | const unsigned char *searchName, | ||
364 | char *symlinkinfo, const int buflen, __u16 fid, | ||
365 | const struct nls_table *nls_codepage); | ||
366 | #endif /* temporarily unused until cifs_symlink fixed */ | ||
367 | extern int CIFSSMBOpen(const unsigned int xid, struct cifs_tcon *tcon, | 363 | extern int CIFSSMBOpen(const unsigned int xid, struct cifs_tcon *tcon, |
368 | const char *fileName, const int disposition, | 364 | const char *fileName, const int disposition, |
369 | const int access_flags, const int omode, | 365 | const int access_flags, const int omode, |