summaryrefslogtreecommitdiffstats
path: root/include/linux/stat.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-20 15:56:58 +0100
committerMark Brown <broonie@kernel.org>2021-09-21 15:23:35 +0100
commitffb1e76f4f32d2b8ea4189df0484980370476395 (patch)
treec62376eab558809973dc5b71806df07c388bfc1a /include/linux/stat.h
parent2bab94090b01bc593d8bc25f68df41f198721173 (diff)
parente4e737bb5c170df6135a127739a9e6148ee3da82 (diff)
downloadcachepc-linux-ffb1e76f4f32d2b8ea4189df0484980370476395.tar.gz
cachepc-linux-ffb1e76f4f32d2b8ea4189df0484980370476395.zip
Merge tag 'v5.15-rc2' into spi-5.15
Linux 5.15-rc2
Diffstat (limited to 'include/linux/stat.h')
-rw-r--r--include/linux/stat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h
index fff27e603814..7df06931f25d 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -34,6 +34,10 @@ struct kstat {
STATX_ATTR_ENCRYPTED | \
STATX_ATTR_VERITY \
)/* Attrs corresponding to FS_*_FL flags */
+#define KSTAT_ATTR_VFS_FLAGS \
+ (STATX_ATTR_IMMUTABLE | \
+ STATX_ATTR_APPEND \
+ ) /* Attrs corresponding to S_* flags that are enforced by the VFS */
u64 ino;
dev_t dev;
dev_t rdev;