Skip to content

Commit 3a806b2

Browse files
Li Lingfengchucklever
authored andcommitted
NFSD: remove redundant assignment operation
Commit 5826e09 ("NFSD: OP_CB_RECALL_ANY should recall both read and write delegations") added a new assignment statement to add RCA4_TYPE_MASK_WDATA_DLG to ra_bmval bitmask of OP_CB_RECALL_ANY. So the old one should be removed. Signed-off-by: Li Lingfeng <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 44e43a5 commit 3a806b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/nfsd/nfs4state.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6640,7 +6640,6 @@ deleg_reaper(struct nfsd_net *nn)
66406640
cl_ra_cblist);
66416641
list_del_init(&clp->cl_ra_cblist);
66426642
clp->cl_ra->ra_keep = 0;
6643-
clp->cl_ra->ra_bmval[0] = BIT(RCA4_TYPE_MASK_RDATA_DLG);
66446643
clp->cl_ra->ra_bmval[0] = BIT(RCA4_TYPE_MASK_RDATA_DLG) |
66456644
BIT(RCA4_TYPE_MASK_WDATA_DLG);
66466645
trace_nfsd_cb_recall_any(clp->cl_ra);

0 commit comments

Comments
 (0)