diff options
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 5630282f2821..ae5e451a0d08 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -2516,7 +2516,17 @@ querySymLinkRetry: | |||
2516 | return rc; | 2516 | return rc; |
2517 | } | 2517 | } |
2518 | 2518 | ||
2519 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 2519 | #ifdef CONFIG_CIFS_SYMLINK_EXPERIMENTAL |
2520 | /* | ||
2521 | * Recent Windows versions now create symlinks more frequently | ||
2522 | * and they use the "reparse point" mechanism below. We can of course | ||
2523 | * do symlinks nicely to Samba and other servers which support the | ||
2524 | * CIFS Unix Extensions and we can also do SFU symlinks and "client only" | ||
2525 | * "MF" symlinks optionally, but for recent Windows we really need to | ||
2526 | * reenable the code below and fix the cifs_symlink callers to handle this. | ||
2527 | * In the interim this code has been moved to its own config option so | ||
2528 | * it is not compiled in by default until callers fixed up and more tested. | ||
2529 | */ | ||
2520 | int | 2530 | int |
2521 | CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon, | 2531 | CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon, |
2522 | const unsigned char *searchName, | 2532 | const unsigned char *searchName, |
@@ -2618,7 +2628,7 @@ qreparse_out: | |||
2618 | 2628 | ||
2619 | return rc; | 2629 | return rc; |
2620 | } | 2630 | } |
2621 | #endif /* CIFS_EXPERIMENTAL */ | 2631 | #endif /* CIFS_SYMLINK_EXPERIMENTAL */ /* BB temporarily unused */ |
2622 | 2632 | ||
2623 | #ifdef CONFIG_CIFS_POSIX | 2633 | #ifdef CONFIG_CIFS_POSIX |
2624 | 2634 | ||