]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/stat.c
statx: Include a mask for stx_attributes in struct statx
[mirror_ubuntu-artful-kernel.git] / fs / stat.c
index 0c7e6cdc435c2a194dcbdd8684e9c0e9c5f01e6e..c6c963b2546b4f2d0301f40706064498c31fd3b6 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -527,6 +527,7 @@ cp_statx(const struct kstat *stat, struct statx __user *buffer)
        tmp.stx_ino = stat->ino;
        tmp.stx_size = stat->size;
        tmp.stx_blocks = stat->blocks;
+       tmp.stx_attributes_mask = stat->attributes_mask;
        tmp.stx_atime.tv_sec = stat->atime.tv_sec;
        tmp.stx_atime.tv_nsec = stat->atime.tv_nsec;
        tmp.stx_btime.tv_sec = stat->btime.tv_sec;