statx: Include a mask for stx_attributes in struct statx
Include a mask in struct stat to indicate which bits of stx_attributes the filesystem actually supports. This would also be useful if we add another system call that allows you to do a 'bulk attribute set' and pass in a statx struct with the masks appropriately set to say what you want to set. Signed-off-by:David Howells <dhowells@redhat.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/ext4/inode.c 6 additions, 0 deletionsfs/ext4/inode.c
- fs/stat.c 1 addition, 0 deletionsfs/stat.c
- include/linux/stat.h 1 addition, 0 deletionsinclude/linux/stat.h
- include/uapi/linux/stat.h 2 additions, 2 deletionsinclude/uapi/linux/stat.h
- samples/statx/test-statx.c 8 additions, 4 deletionssamples/statx/test-statx.c
Loading
Please register or sign in to comment