mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
pidfs: remove d_op->d_delete
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>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user