diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-12-18 11:29:39 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 20:02:45 -0500 |
commit | 8b244ff2fa58f81f84aa03c82c2c23307a778ce7 (patch) | |
tree | 39c913ed4e529084a856c9c80cab9d173d251863 /fs/nfs/getroot.c | |
parent | 96e1391414f80a8a3bae74ddf58d3c2870e304f0 (diff) |
switch nfs to ->s_d_op
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/getroot.c')
-rw-r--r-- | fs/nfs/getroot.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c index 5596c6a2881e..b5ffe8fa291f 100644 --- a/fs/nfs/getroot.c +++ b/fs/nfs/getroot.c | |||
@@ -119,9 +119,6 @@ struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh) | |||
119 | } | 119 | } |
120 | 120 | ||
121 | security_d_instantiate(ret, inode); | 121 | security_d_instantiate(ret, inode); |
122 | |||
123 | if (ret->d_op == NULL) | ||
124 | d_set_d_op(ret, server->nfs_client->rpc_ops->dentry_ops); | ||
125 | out: | 122 | out: |
126 | nfs_free_fattr(fsinfo.fattr); | 123 | nfs_free_fattr(fsinfo.fattr); |
127 | return ret; | 124 | return ret; |
@@ -227,9 +224,6 @@ struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh) | |||
227 | 224 | ||
228 | security_d_instantiate(ret, inode); | 225 | security_d_instantiate(ret, inode); |
229 | 226 | ||
230 | if (ret->d_op == NULL) | ||
231 | d_set_d_op(ret, server->nfs_client->rpc_ops->dentry_ops); | ||
232 | |||
233 | out: | 227 | out: |
234 | nfs_free_fattr(fattr); | 228 | nfs_free_fattr(fattr); |
235 | dprintk("<-- nfs4_get_root()\n"); | 229 | dprintk("<-- nfs4_get_root()\n"); |