diff options
author | NeilBrown <neilb@suse.de> | 2007-02-14 00:33:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 08:09:53 -0800 |
commit | 982aedfd091e6d9831216f8519f12242091be4fd (patch) | |
tree | 88dd7b785c86f29ad68d6a116d39a037d64929d0 /include | |
parent | 8971a1016b9db4164c3c1b47ae1fde2818becf91 (diff) | |
download | op-kernel-dev-982aedfd091e6d9831216f8519f12242091be4fd.zip op-kernel-dev-982aedfd091e6d9831216f8519f12242091be4fd.tar.gz |
[PATCH] knfsd: tidy up choice of filesystem-identifier when creating a filehandle
If we are using the same version/fsid as a current filehandle, then there is
no need to verify the the numbers are valid for this export, and they must be
(we used them to find this export).
This allows us to simplify the fsid selection code.
Also change "ref_fh_version" and "ref_fh_fsid_type" to "version" and
"fsid_type", as the important thing isn't that they are the version/type of
the reference filehandle, but they are the chosen type for the new filehandle.
And tidy up some indenting.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions