Skip to content

Commit 02cfe2b

Browse files
committed
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 <[email protected]>
1 parent 4c7a22b commit 02cfe2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/pidfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ static char *pidfs_dname(struct dentry *dentry, char *buffer, int buflen)
521521
}
522522

523523
const struct dentry_operations pidfs_dentry_operations = {
524-
.d_delete = always_delete_dentry,
525524
.d_dname = pidfs_dname,
526525
.d_prune = stashed_dentry_prune,
527526
};

0 commit comments

Comments
 (0)