summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2013-08-14 19:25:22 +0400
committerSteve French <smfrench@gmail.com>2013-09-08 14:27:41 -0500
commitd244bf2dfbebfded05f494ffd53659fa7b1e32c1 (patch)
tree7dde97c81405cf271463025cb7f42f1b52e282bb /fs/cifs/cifspdu.h
parentb42bf88828cde60772dc08201d0a4f1a0663d7bc (diff)
downloadlinux-d244bf2dfbebfded05f494ffd53659fa7b1e32c1.tar.gz
linux-d244bf2dfbebfded05f494ffd53659fa7b1e32c1.tar.bz2
linux-d244bf2dfbebfded05f494ffd53659fa7b1e32c1.zip
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/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 11ca24a8e054..948676db8e2e 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -1495,11 +1495,12 @@ struct reparse_data {
__u32 ReparseTag;
__u16 ReparseDataLength;
__u16 Reserved;
- __u16 AltNameOffset;
- __u16 AltNameLen;
- __u16 TargetNameOffset;
- __u16 TargetNameLen;
- char LinkNamesBuf[1];
+ __u16 SubstituteNameOffset;
+ __u16 SubstituteNameLength;
+ __u16 PrintNameOffset;
+ __u16 PrintNameLength;
+ __u32 Flags;
+ char PathBuffer[0];
} __attribute__((packed));
struct cifs_quota_data {