Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b600de7a authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: remove BUG_ON



This BUG_ON just crashes the thread a little earlier than it would
otherwise--it doesn't seem useful.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 0733c7ba
Loading
Loading
Loading
Loading
+3 −6
Original line number Original line Diff line number Diff line
@@ -1282,12 +1282,9 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
		if (op->status)
		if (op->status)
			goto encode_op;
			goto encode_op;


		if (opdesc->op_func) {
		if (opdesc->op_get_currentstateid)
		if (opdesc->op_get_currentstateid)
			opdesc->op_get_currentstateid(cstate, &op->u);
			opdesc->op_get_currentstateid(cstate, &op->u);
		op->status = opdesc->op_func(rqstp, cstate, &op->u);
		op->status = opdesc->op_func(rqstp, cstate, &op->u);
		} else
			BUG_ON(op->status == nfs_ok);


		if (!op->status) {
		if (!op->status) {
			if (opdesc->op_set_currentstateid)
			if (opdesc->op_set_currentstateid)