Unverified Commit 554b849b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 3eee8cf5 e9329d3c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6253,6 +6253,11 @@ int smb2_read(struct ksmbd_work *work)
	int err = 0;

	WORK_BUFFERS(work, req, rsp);
	if (work->next_smb2_rcv_hdr_off) {
		work->send_no_response = 1;
		err = -EOPNOTSUPP;
		goto out;
	}

	if (test_share_config_flag(work->tcon->share_conf,
				   KSMBD_SHARE_FLAG_PIPE)) {