]> 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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 3 Aug 2022 18:17:12 +0000 (14:17 -0400)
commitf9b54ab30a24279cd099926194b58575f2004592
treefdc478720fe5480793f1d88b3d1311d52b0d43fe
parent1eeaef73d5268c07126b8d45e3b950a31ecb9824
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