]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c0352a4b0234024451f77cdef156faab43c8418
treee4167f2ff3e8edf0bb5f331d58bc308476180744
parent6dcb8210a0202d523dd28229d107ed6c3dc60673
nfsd4: separate splice and readv cases

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