summaryrefslogtreecommitdiffstats
path: root/lib/bust_spinlocks.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-02-14 09:33:11 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 17:09:53 +0100
commit982aedfd091e6d9831216f8519f12242091be4fd (patch)
tree88dd7b785c86f29ad68d6a116d39a037d64929d0 /lib/bust_spinlocks.c
parent[PATCH] knfsd: fix return value for writes to some files in 'nfsd' filesystem (diff)
downloadlinux-982aedfd091e6d9831216f8519f12242091be4fd.tar.xz
linux-982aedfd091e6d9831216f8519f12242091be4fd.zip
[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 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions