Merge tag 'for-linus-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
[linux-2.6-microblaze.git] / include / linux / stat.h
index fff27e6..7df0693 100644 (file)
@@ -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;