]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: clean up readdirplus encoding
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 4 Sep 2009 18:13:09 +0000 (14:13 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 4 Sep 2009 19:47:40 +0000 (15:47 -0400)
commit67f0ebf0318e469d522e4c2360f1fa521969d9f2
tree3e6781150308ea56183593e0d4c1380a8515e6b6
parent657d4997645474e9ddee067f50d63830652d53e5
nfsd: clean up readdirplus encoding

Make the return from compose_entry_fh() zero or an error, even though
the returned error isn't used, just to make the meaning of the return
immediately obvious.

Move some repeated code out of main function into helper.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs3xdr.c