diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-12-26 07:43:49 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:25 -0500 |
commit | d706ed1f50d3f7fae61a177183562179abe8e4bb (patch) | |
tree | 8f66aaf4276a616ac6006c3fb96b13d6b543143d /fs/nfs/idmap.c | |
parent | d0fe13ba9178d3bb78bbd8577bdedc00f76b7a66 (diff) |
SUNPRC: cleanup RPC PipeFS pipes upcall interface
RPC pipe upcall doesn't requires only private pipe data. Thus RPC inode
references in this code can be removed.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
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 2c05f1991e1e..3c63c47c793d 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -589,7 +589,7 @@ nfs_idmap_id(struct idmap *idmap, struct idmap_hashtable *h, | |||
589 | msg.len = sizeof(*im); | 589 | msg.len = sizeof(*im); |
590 | 590 | ||
591 | add_wait_queue(&idmap->idmap_wq, &wq); | 591 | add_wait_queue(&idmap->idmap_wq, &wq); |
592 | if (rpc_queue_upcall(idmap->idmap_dentry->d_inode, &msg) < 0) { | 592 | if (rpc_queue_upcall(RPC_I(idmap->idmap_dentry->d_inode)->pipe, &msg) < 0) { |
593 | remove_wait_queue(&idmap->idmap_wq, &wq); | 593 | remove_wait_queue(&idmap->idmap_wq, &wq); |
594 | goto out; | 594 | goto out; |
595 | } | 595 | } |
@@ -650,7 +650,7 @@ nfs_idmap_name(struct idmap *idmap, struct idmap_hashtable *h, | |||
650 | 650 | ||
651 | add_wait_queue(&idmap->idmap_wq, &wq); | 651 | add_wait_queue(&idmap->idmap_wq, &wq); |
652 | 652 | ||
653 | if (rpc_queue_upcall(idmap->idmap_dentry->d_inode, &msg) < 0) { | 653 | if (rpc_queue_upcall(RPC_I(idmap->idmap_dentry->d_inode)->pipe, &msg) < 0) { |
654 | remove_wait_queue(&idmap->idmap_wq, &wq); | 654 | remove_wait_queue(&idmap->idmap_wq, &wq); |
655 | goto out; | 655 | goto out; |
656 | } | 656 | } |