]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/shmem: support FS_IOC_[SG]ETFLAGS in tmpfs
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Jul 2022 01:59:12 +0000 (21:59 -0400)
committerakpm <akpm@linux-foundation.org>
Wed, 20 Jul 2022 21:41:53 +0000 (14:41 -0700)
commit5064811182b7dbbcf80e2441de627f261f2e1aa7
tree00cdbd61c19d8d7319801efcb8ce0332fec4f389
parent97931adffb0dea2c0e2f4f9cf49059395e682f43
mm/shmem: support FS_IOC_[SG]ETFLAGS in tmpfs

This allows userspace to set flags like FS_APPEND_FL, FS_IMMUTABLE_FL,
FS_NODUMP_FL, etc., like all other standard Linux file systems.

Link: https://lkml.kernel.org/r/20220715015912.2560575-1-tytso@mit.edu
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/shmem_fs.h
mm/shmem.c