diff options
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r-- | fs/nfs/idmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 3e8edbe71ec6..2eaecf9d8db7 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -415,7 +415,7 @@ static int __nfs_idmap_register(struct dentry *dir, | |||
415 | static void nfs_idmap_unregister(struct nfs_client *clp, | 415 | static void nfs_idmap_unregister(struct nfs_client *clp, |
416 | struct rpc_pipe *pipe) | 416 | struct rpc_pipe *pipe) |
417 | { | 417 | { |
418 | struct net *net = clp->net; | 418 | struct net *net = clp->cl_net; |
419 | struct super_block *pipefs_sb; | 419 | struct super_block *pipefs_sb; |
420 | 420 | ||
421 | pipefs_sb = rpc_get_sb_net(net); | 421 | pipefs_sb = rpc_get_sb_net(net); |
@@ -429,7 +429,7 @@ static int nfs_idmap_register(struct nfs_client *clp, | |||
429 | struct idmap *idmap, | 429 | struct idmap *idmap, |
430 | struct rpc_pipe *pipe) | 430 | struct rpc_pipe *pipe) |
431 | { | 431 | { |
432 | struct net *net = clp->net; | 432 | struct net *net = clp->cl_net; |
433 | struct super_block *pipefs_sb; | 433 | struct super_block *pipefs_sb; |
434 | int err = 0; | 434 | int err = 0; |
435 | 435 | ||