bcachefs: Support FS_XFLAG_PROJINHERIT
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Oct 2022 20:21:08 +0000 (16:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:43 +0000 (17:09 -0400)
commit65ff2d3a7abb9f1cc41dc824a9fc374a2c81eaf3
tree545637c2e0f1223419d20b19dcd80c2bc3bd606e
parentbf9cb250edf776454d0600b4341c6667974bedb8
bcachefs: Support FS_XFLAG_PROJINHERIT

We already have support for the flag's semantics: inode options are
inherited by children if they were explicitly set on the parent. This
patch just maps the FS_XFLAG_PROJINHERIT flag to the "this option was
epxlicitly set" bit.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c