|
@@ -66,7 +66,7 @@ __be32 nfs4_callback_getattr(void *argp, void *resp,
|
|
|
out_iput:
|
|
|
rcu_read_unlock();
|
|
|
trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status));
|
|
|
- iput(inode);
|
|
|
+ nfs_iput_and_deactive(inode);
|
|
|
out:
|
|
|
dprintk("%s: exit with status = %d\n", __func__, ntohl(res->status));
|
|
|
return res->status;
|
|
@@ -108,7 +108,7 @@ __be32 nfs4_callback_recall(void *argp, void *resp,
|
|
|
}
|
|
|
trace_nfs4_cb_recall(cps->clp, &args->fh, inode,
|
|
|
&args->stateid, -ntohl(res));
|
|
|
- iput(inode);
|
|
|
+ nfs_iput_and_deactive(inode);
|
|
|
out:
|
|
|
dprintk("%s: exit with status = %d\n", __func__, ntohl(res));
|
|
|
return res;
|