aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index a924d66b5608..2817cce7a9f4 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1368,7 +1368,6 @@ EXPORT_SYMBOL_GPL(nfs_dentry_operations);
1368struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags) 1368struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags)
1369{ 1369{
1370 struct dentry *res; 1370 struct dentry *res;
1371 struct dentry *parent;
1372 struct inode *inode = NULL; 1371 struct inode *inode = NULL;
1373 struct nfs_fh *fhandle = NULL; 1372 struct nfs_fh *fhandle = NULL;
1374 struct nfs_fattr *fattr = NULL; 1373 struct nfs_fattr *fattr = NULL;
@@ -1398,7 +1397,6 @@ struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, unsigned in
1398 if (IS_ERR(label)) 1397 if (IS_ERR(label))
1399 goto out; 1398 goto out;
1400 1399
1401 parent = dentry->d_parent;
1402 /* Protect against concurrent sillydeletes */ 1400 /* Protect against concurrent sillydeletes */
1403 trace_nfs_lookup_enter(dir, dentry, flags); 1401 trace_nfs_lookup_enter(dir, dentry, flags);
1404 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label); 1402 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label);