diff options
author | Steve French <sfrench@us.ibm.com> | 2011-02-24 01:16:22 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-19 10:10:48 -0400 |
commit | c52a95545c7f8060aa4e83deca16e3414ce73000 (patch) | |
tree | 1edf070af12b9c939664c55e475bf472e941c5a8 /fs/cifs/cifsproto.h | |
parent | 0eff0e26777430bcfee1ef47bd90250858ada431 (diff) |
Don't compile in unused reparse point symlink code
Recent Windows versions now create symlinks more frequently
and they do use this "reparse point" symlink mechanism. We can of course
do symlinks nicely to Samba and other servers which support the
CIFS Unix Extensions and we can also do SFU symlinks and "client only"
"MF" symlinks optionally, but for recent Windows we currently can not
handle the common "reparse point" symlinks fully, removing the caller
for this. We will need to extend and reenable this "reparse point" worker
code in cifs and fix cifs_symlink to call this. In the interim this code
has been moved to its own config option so it is not compiled in by default
until cifs_symlink fixed up (and tested) to use this.
CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 34bbd5cf46d0..da7a4923783f 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -304,12 +304,13 @@ extern int CIFSSMBUnixQuerySymLink(const int xid, | |||
304 | struct cifsTconInfo *tcon, | 304 | struct cifsTconInfo *tcon, |
305 | const unsigned char *searchName, char **syminfo, | 305 | const unsigned char *searchName, char **syminfo, |
306 | const struct nls_table *nls_codepage); | 306 | const struct nls_table *nls_codepage); |
307 | #ifdef CONFIG_CIFS_SYMLINK_EXPERIMENTAL | ||
307 | extern int CIFSSMBQueryReparseLinkInfo(const int xid, | 308 | extern int CIFSSMBQueryReparseLinkInfo(const int xid, |
308 | struct cifsTconInfo *tcon, | 309 | struct cifsTconInfo *tcon, |
309 | const unsigned char *searchName, | 310 | const unsigned char *searchName, |
310 | char *symlinkinfo, const int buflen, __u16 fid, | 311 | char *symlinkinfo, const int buflen, __u16 fid, |
311 | const struct nls_table *nls_codepage); | 312 | const struct nls_table *nls_codepage); |
312 | 313 | #endif /* temporarily unused until cifs_symlink fixed */ | |
313 | extern int CIFSSMBOpen(const int xid, struct cifsTconInfo *tcon, | 314 | extern int CIFSSMBOpen(const int xid, struct cifsTconInfo *tcon, |
314 | const char *fileName, const int disposition, | 315 | const char *fileName, const int disposition, |
315 | const int access_flags, const int omode, | 316 | const int access_flags, const int omode, |