mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00
configfs: use DCACHE_DONTCACHE
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
82a3c881cd
commit
a509e7cf62
2 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,6 @@ static void configfs_d_iput(struct dentry * dentry,
|
|||
|
||||
const struct dentry_operations configfs_dentry_ops = {
|
||||
.d_iput = configfs_d_iput,
|
||||
.d_delete = always_delete_dentry,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
|
|
|
@ -93,6 +93,7 @@ static int configfs_fill_super(struct super_block *sb, struct fs_context *fc)
|
|||
root->d_fsdata = &configfs_root;
|
||||
sb->s_root = root;
|
||||
set_default_d_op(sb, &configfs_dentry_ops); /* the rest get that */
|
||||
sb->s_d_flags |= DCACHE_DONTCACHE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue