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:
4c7a22b
)
pidfs: remove d_op->d_delete
author
Christian Brauner
<brauner@kernel.org>
Mon, 24 Feb 2025 10:27:02 +0000
(11:27 +0100)
committer
Christian Brauner
<brauner@kernel.org>
Mon, 24 Feb 2025 10:27:02 +0000
(11:27 +0100)
Pidfs only deals with unhashed dentries and there's currently no way for
them to become hashed. So remove d_op->d_delete.
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/pidfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/pidfs.c
b/fs/pidfs.c
index 63f9699ebac36873d83fbf253846ae09e87b91e7..c0478b3c55d9fa935cf8ff3c3a1104153fe5a868 100644
(file)
--- a/
fs/pidfs.c
+++ b/
fs/pidfs.c
@@
-521,7
+521,6
@@
static char *pidfs_dname(struct dentry *dentry, char *buffer, int buflen)
}
const struct dentry_operations pidfs_dentry_operations = {
- .d_delete = always_delete_dentry,
.d_dname = pidfs_dname,
.d_prune = stashed_dentry_prune,
};