Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 3/3] statx: add STATX_ATTRIBUTES flag | Date | Thu, 18 Oct 2018 16:22:35 +0100 |
| |
Miklos Szeredi <mszeredi@redhat.com> wrote:
> + /* Having anything in attributes_mask means attributes are valid. */ > + if (tmp.stx_attributes_mask) > + tmp.stx_mask |= STATX_ATTRIBUTES;
That would be superfluous, since userspace can make this check too.
Note that fsinfo() might inform you better - if and when it arrives.
David
| |