aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 8789210c6905..eedd24d0ad2e 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -477,10 +477,7 @@ different:
477static 477static
478void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry) 478void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
479{ 479{
480 struct qstr filename = { 480 struct qstr filename = QSTR_INIT(entry->name, entry->len);
481 .len = entry->len,
482 .name = entry->name,
483 };
484 struct dentry *dentry; 481 struct dentry *dentry;
485 struct dentry *alias; 482 struct dentry *alias;
486 struct inode *dir = parent->d_inode; 483 struct inode *dir = parent->d_inode;