diff options
| -rw-r--r-- | fs/nsfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nsfs.c b/fs/nsfs.c index ded833f66d4d..c1661feaccf0 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -591,6 +591,7 @@ static int nsfs_init_fs_context(struct fs_context *fc) struct pseudo_fs_context *ctx = init_pseudo(fc, NSFS_MAGIC); if (!ctx) return -ENOMEM; + ctx->s_d_flags |= DCACHE_DONTCACHE; ctx->ops = &nsfs_ops; ctx->eops = &nsfs_export_operations; ctx->dops = &ns_dentry_operations; |