]> 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>
Wed, 28 May 2014 18:53:02 +0000 (14:53 -0400)
commit3e593ddb9fce531840cbec7c8c6f2960409a8182
tree16e4150276baa66a23004228e44e67f69b0e47ec
parentd2649dbc341a95446e003b5fc213e0d737c0a037
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