nfsd: nfsd_splice_read and nfsd_readv should return __be32
authorJeff Layton <jlayton@primarydata.com>
Tue, 17 Jun 2014 11:44:13 +0000 (07:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 23 Jun 2014 15:31:37 +0000 (11:31 -0400)
commite2afc81919400505481a985fb389475707195c3c
tree111a37a7d068c5c84ea5ff8d8b4d3a6950168bb4
parentb3d8d1284a8275f7e761df5fc5f80c464ecd23dd
nfsd: nfsd_splice_read and nfsd_readv should return __be32

The callers expect a __be32 return and the functions they call return
__be32, so having these return int is just wrong. Also, nfsd_finish_read
can be made static.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c
fs/nfsd/vfs.h