diff options
Diffstat (limited to 'include/linux/stat.h')
| -rw-r--r-- | include/linux/stat.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h index ff277ced50e9..e3d00e7bb26d 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -50,8 +50,23 @@ struct kstat { struct timespec64 btime; /* File creation time */ u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_unit_max_opt; + u32 atomic_write_segments_max; }; +/* These definitions are internal to the kernel for now. Mainly used by nfsd. */ + +/* mask values */ +#define STATX_CHANGE_COOKIE 0x40000000U /* Want/got stx_change_attr */ + +/* file attribute values */ +#define STATX_ATTR_CHANGE_MONOTONIC 0x8000000000000000ULL /* version monotonically increases */ + #endif |
