|
@@ -7796,6 +7796,7 @@ static void nfs4_layoutreturn_release(void *calldata)
|
|
spin_lock(&lo->plh_inode->i_lock);
|
|
spin_lock(&lo->plh_inode->i_lock);
|
|
if (lrp->res.lrs_present)
|
|
if (lrp->res.lrs_present)
|
|
pnfs_set_layout_stateid(lo, &lrp->res.stateid, true);
|
|
pnfs_set_layout_stateid(lo, &lrp->res.stateid, true);
|
|
|
|
+ clear_bit(NFS_LAYOUT_RETURN, &lo->plh_flags);
|
|
lo->plh_block_lgets--;
|
|
lo->plh_block_lgets--;
|
|
spin_unlock(&lo->plh_inode->i_lock);
|
|
spin_unlock(&lo->plh_inode->i_lock);
|
|
pnfs_put_layout_hdr(lrp->args.layout);
|
|
pnfs_put_layout_hdr(lrp->args.layout);
|