mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
switch nfs to ->s_d_op
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
96e1391414
commit
8b244ff2fa
3 changed files with 1 additions and 10 deletions
|
@ -119,9 +119,6 @@ struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh)
|
|||
}
|
||||
|
||||
security_d_instantiate(ret, inode);
|
||||
|
||||
if (ret->d_op == NULL)
|
||||
d_set_d_op(ret, server->nfs_client->rpc_ops->dentry_ops);
|
||||
out:
|
||||
nfs_free_fattr(fsinfo.fattr);
|
||||
return ret;
|
||||
|
@ -227,9 +224,6 @@ struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh)
|
|||
|
||||
security_d_instantiate(ret, inode);
|
||||
|
||||
if (ret->d_op == NULL)
|
||||
d_set_d_op(ret, server->nfs_client->rpc_ops->dentry_ops);
|
||||
|
||||
out:
|
||||
nfs_free_fattr(fattr);
|
||||
dprintk("<-- nfs4_get_root()\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue