[SMB3] [PATCH] statx enablement for cifs.ko
Stefan Metzmacher
metze at samba.org
Fri Sep 22 06:20:10 UTC 2017
Hi Steve,
> + stat->attributes_mask |= (STATX_ATTR_COMPRESSED | STATX_ATTR_ENCRYPTED);
> + if (CIFS_I(inode)->cifsAttrs & FILE_ATTRIBUTE_COMPRESSED)
> + stat->attributes |= STATX_ATTR_COMPRESSED;
> + if (CIFS_I(inode)->cifsAttrs & FILE_ATTRIBUTE_ENCRYPTED)
> + stat->attributes |= STATX_ATTR_ENCRYPTED;
I guess the first line was only for testing?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170922/7462539c/signature-0001.sig>
More information about the samba-technical
mailing list