diff options
author | Steve French <sfrench@us.ibm.com> | 2006-03-02 03:24:57 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-03-02 03:24:57 +0000 |
commit | 82940a465829b0c757dea45889aa150c8083e3d9 (patch) | |
tree | 3ef3b38f47d93f07b6b5ebc51a54f301f62ec11a /fs/cifs/cifspdu.h | |
parent | 46c79a645a00e71dbbfd5f52abe0ea7cf2d5daa3 (diff) | |
download | op-kernel-dev-82940a465829b0c757dea45889aa150c8083e3d9.zip op-kernel-dev-82940a465829b0c757dea45889aa150c8083e3d9.tar.gz |
[CIFS] Make POSIX CIFS Extensions SetFSInfo match exactly what we want
not just the posix path feature.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index b758661..b2233ac 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -1789,7 +1789,13 @@ typedef struct { #define CIFS_UNIX_POSIX_ACL_CAP 0x00000002 /* support getfacl/setfacl */ #define CIFS_UNIX_XATTR_CAP 0x00000004 /* support new namespace */ #define CIFS_UNIX_EXTATTR_CAP 0x00000008 /* support chattr/chflag */ -#define CIFS_UNIX_POSIX_PATHNAMES_CAP 0x00000010 /* Use POSIX pathnames on the wire. */ +#define CIFS_UNIX_POSIX_PATHNAMES_CAP 0x00000010 /* Allow POSIX path chars */ +#ifdef CONFIG_CIFS_POSIX +#define CIFS_UNIX_CAP_MASK 0x0000001b +#else +#define CIFS_UNIX_CAP_MASK 0x00000013 +#endif /* CONFIG_CIFS_POSIX */ + #define CIFS_POSIX_EXTENSIONS 0x00000010 /* support for new QFSInfo */ |