nfsd4: separate splice and readv cases
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 18 Mar 2014 21:01:51 +0000 (17:01 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:32:09 +0000 (17:32 -0400)
The splice and readv cases are actually quite different--for example the
former case ignores the array of vectors we build up for the latter.

It is probably clearer to separate the two cases entirely.

There's some code duplication between the split out encoders, but this
is only temporary and will be fixed by a later patch.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h

Simple merge
diff --cc fs/nfsd/vfs.c
Simple merge
diff --cc fs/nfsd/vfs.h
Simple merge