]> git.karo-electronics.de Git - karo-tx-linux.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)
commitdc97618ddda9a23e5211e800f0614e9612178200
treee4167f2ff3e8edf0bb5f331d58bc308476180744
parent02fe4707740e7c8a3d0ec34ffbf4630d7d41ca68
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