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 2c05f1991e1..3c63c47c793 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 | } |