Unverified Commit 3e36513d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 2d25b05d a943ce59
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -475,6 +475,10 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
			.ia_size	= iap->ia_size,
			.ia_size	= iap->ia_size,
		};
		};


		host_err = -EFBIG;
		if (iap->ia_size < 0)
			goto out_unlock;

		host_err = notify_change(dentry, &size_attr, NULL);
		host_err = notify_change(dentry, &size_attr, NULL);
		if (host_err)
		if (host_err)
			goto out_unlock;
			goto out_unlock;