nfsd: clarify readdir/mountpoint-crossing code
commitc0ce6ec87c59d7a29438717b1f72f83fb408f416
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 11 Feb 2008 20:48:47 +0000 (11 15:48 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:38 +0000 (23 16:13 -0400)
tree197fe7b8f89250b54b3f08d559d49f331c00d759
parent67eb6ff610d50da231a37beb634d6dea4b5025ab
nfsd: clarify readdir/mountpoint-crossing code

The code here is difficult to understand; attempt to clarify somewhat by
pulling out one of the more mystifying conditionals into a separate
function.

While we're here, also add lease_time to the list of attributes that we
don't really need to cross a mountpoint to fetch.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Peter Staubach <staubach@redhat.com>
fs/nfsd/nfs4xdr.c