projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d718249
)
libfs: prepare to allow for non-immutable pidfd inodes
author
Christian Brauner
<brauner@kernel.org>
Wed, 18 Jun 2025 20:53:44 +0000
(22:53 +0200)
committer
Christian Brauner
<brauner@kernel.org>
Thu, 19 Jun 2025 12:28:25 +0000
(14:28 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/libfs.c
b/fs/libfs.c
index 997d3a363ce6cb4dad9b932000fa97ec4ed3ed04..c5b520df90326915ed1856b5c97f5f110686ed68 100644
(file)
--- a/
fs/libfs.c
+++ b/
fs/libfs.c
@@
-2162,7
+2162,6
@@
static struct dentry *prepare_anon_dentry(struct dentry **stashed,
/* Notice when this is changed. */
WARN_ON_ONCE(!S_ISREG(inode->i_mode));
- WARN_ON_ONCE(!IS_IMMUTABLE(inode));
dentry = d_alloc_anon(sb);
if (!dentry) {