nfsd: minor nfsd read api cleanup
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 30 Jul 2010 15:33:32 +0000 (11:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 Jul 2010 16:54:54 +0000 (12:54 -0400)
commit039a87ca536a85bc169ce092e44bd57adfa1f563
tree015ddd79fb489241b0171ce3c863353ae6c03522
parent69049961014992f50b10d6c3cd3cd172d4aae5ac
nfsd: minor nfsd read api cleanup

Christoph points that the NFSv2/v3 callers know which case they want
here, so we may as well just call the file=NULL case directly instead of
making this conditional.

Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsproc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h