libfs: prepare to allow for non-immutable pidfd inodes
authorChristian Brauner <brauner@kernel.org>
Wed, 18 Jun 2025 20:53:44 +0000 (22:53 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 19 Jun 2025 12:28:25 +0000 (14:28 +0200)
commitc007d95221397eda24e7d6b4ac5a5d699ea2f1ca
tree5f18939448044c8cd406e1f73bde001d2bca27dc
parentd718249bbac664c24a34ed472d627381d4505e00
libfs: prepare to allow for non-immutable pidfd inodes

Allow for S_IMMUTABLE to be stripped so that we can support xattrs.

Link: https://lore.kernel.org/20250618-work-pidfs-persistent-v2-10-98f3456fd552@kernel.org
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/libfs.c