|
@@ -439,7 +439,6 @@ void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
|
|
if (dentry == NULL)
|
|
if (dentry == NULL)
|
|
return;
|
|
return;
|
|
|
|
|
|
- d_set_d_op(dentry, NFS_PROTO(dir)->dentry_ops);
|
|
|
|
inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr);
|
|
inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr);
|
|
if (IS_ERR(inode))
|
|
if (IS_ERR(inode))
|
|
goto out;
|
|
goto out;
|
|
@@ -1193,8 +1192,6 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, stru
|
|
if (dentry->d_name.len > NFS_SERVER(dir)->namelen)
|
|
if (dentry->d_name.len > NFS_SERVER(dir)->namelen)
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
- d_set_d_op(dentry, NFS_PROTO(dir)->dentry_ops);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* If we're doing an exclusive create, optimize away the lookup
|
|
* If we're doing an exclusive create, optimize away the lookup
|
|
* but don't hash the dentry.
|
|
* but don't hash the dentry.
|
|
@@ -1338,7 +1335,6 @@ static struct dentry *nfs_atomic_lookup(struct inode *dir, struct dentry *dentry
|
|
res = ERR_PTR(-ENAMETOOLONG);
|
|
res = ERR_PTR(-ENAMETOOLONG);
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
- d_set_d_op(dentry, NFS_PROTO(dir)->dentry_ops);
|
|
|
|
|
|
|
|
/* Let vfs_create() deal with O_EXCL. Instantiate, but don't hash
|
|
/* Let vfs_create() deal with O_EXCL. Instantiate, but don't hash
|
|
* the dentry. */
|
|
* the dentry. */
|