Skip to content

Commit 2039c5d

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 ecbf849 commit 2039c5d

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
@@ -6643,7 +6643,6 @@ deleg_reaper(struct nfsd_net *nn)
66436643
cl_ra_cblist);
66446644
list_del_init(&clp->cl_ra_cblist);
66456645
clp->cl_ra->ra_keep = 0;
6646-
clp->cl_ra->ra_bmval[0] = BIT(RCA4_TYPE_MASK_RDATA_DLG);
66476646
clp->cl_ra->ra_bmval[0] = BIT(RCA4_TYPE_MASK_RDATA_DLG) |
66486647
BIT(RCA4_TYPE_MASK_WDATA_DLG);
66496648
trace_nfsd_cb_recall_any(clp->cl_ra);

0 commit comments

Comments
 (0)