diff options
author | NeilBrown <neilb@suse.de> | 2007-02-14 09:33:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 17:09:53 +0100 |
commit | af6a4e280e3ff453653f39190b57b345ff0bec16 (patch) | |
tree | 4895c90613737db7354f43431ed10a55dc0c98f0 /drivers/net/ni52.h | |
parent | [PATCH] knfsd: tidy up choice of filesystem-identifier when creating a fileha... (diff) | |
download | linux-af6a4e280e3ff453653f39190b57b345ff0bec16.tar.xz linux-af6a4e280e3ff453653f39190b57b345ff0bec16.zip |
[PATCH] knfsd: add some new fsid types
Add support for using a filesystem UUID to identify and export point in the
filehandle.
For NFSv2, this UUID is xor-ed down to 4 or 8 bytes so that it doesn't take up
too much room. For NFSv3+, we use the full 16 bytes, and possibly also a
64bit inode number for exports beneath the root of a filesystem.
When generating an fsid to return in 'stat' information, use the UUID (hashed
down to size) if it is available and a small 'fsid' was not specifically
provided.
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 'drivers/net/ni52.h')
0 files changed, 0 insertions, 0 deletions