NFSD: OP_CB_RECALL_ANY should recall both read and write delegations
Subsystems (2)
Dai Ngo
reviewerPATCH 1/1 NFSD: OP_CB_RECALL_ANY should recall both read and write delegations
Add RCA4_TYPE_MASK_WDATA_DLG to ra_bmval bitmask of OP_CB_RECALL_ANY
Signed-off-by Dai Ngo <[email protected]>
--- fs/nfsd/nfs4state.c | 2 ++ 1 file changed, 2 insertions(+)
fs/nfsd/nfs4state.c +2 -0
@@ -6611,6 +6611,8 @@ deleg_reaper(struct nfsd_net *nn)list_del_init (&clp->cl_ra_cblist); clp->cl_ra->ra_keep =0 ; clp->cl_ra->ra_bmval[0 ] =BIT (RCA4_TYPE_MASK_RDATA_DLG ); + clp->cl_ra->ra_bmval[0 ] =BIT (RCA4_TYPE_MASK_RDATA_DLG ) | +BIT (RCA4_TYPE_MASK_WDATA_DLG );trace_nfsd_cb_recall_any (clp->cl_ra);nfsd4_run_cb (&clp->cl_ra->ra_cb); }
Signature · 1 line
2.39.3