Skip to content

Commit 425e3e3

Browse files
committed
nsfs: remove d_op->d_delete
Nsfs 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 02cfe2b commit 425e3e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/nsfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
3737
}
3838

3939
const struct dentry_operations ns_dentry_operations = {
40-
.d_delete = always_delete_dentry,
4140
.d_dname = ns_dname,
4241
.d_prune = stashed_dentry_prune,
4342
};

0 commit comments

Comments
 (0)