Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "nfsd: warn on odd reply state in nfsd_vfs_read"

This reverts commit 79f77bf9a4e3dd5ead006b8f17e7c4ff07d8374e.

This is obviously wrong, and I have no idea how I missed seeing the
warning in testing: I must just not have looked at the right logs. The
caller bumps rq_resused/rq_next_page, so it will always be hit on a
large enough read.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

J. Bruce Fields and committed by
Linus Torvalds
10532b56 184e2516

-1
-1
fs/nfsd/vfs.c
··· 934 934 .u.data = rqstp, 935 935 }; 936 936 937 - WARN_ON_ONCE(rqstp->rq_next_page != rqstp->rq_respages + 1); 938 937 rqstp->rq_next_page = rqstp->rq_respages + 1; 939 938 host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor); 940 939 } else {