summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-06-22 10:37:25 -0400
committerSteve Dickson <steved@redhat.com>2010-06-22 16:04:53 -0400
commit8d61f2518bebe11c5fd0624857f83de1dceca991 (patch)
tree1dd0a9d2aaef70d6410f47d49c750eef45cc0e53 /support/export/export.c
parent9ac7a15017b876d4d8d3a4502ebaf954f36f7f54 (diff)
downloadnfs-utils-8d61f2518bebe11c5fd0624857f83de1dceca991.tar.gz
nfs-utils-8d61f2518bebe11c5fd0624857f83de1dceca991.tar.xz
nfs-utils-8d61f2518bebe11c5fd0624857f83de1dceca991.zip
Improve support for exporting btrfs subvolumes
If you export two subvolumes of a btrfs filesystem, they will both be given the same uuid so lookups will be confused. blkid cannot differentiate the two, so we must use the fsid from statfs64 to identify the filesystem. We cannot tell if blkid or statfs is best without knowing internal details of the filesystem in question, so we need to encode specific knowledge of btrfs in mountd. This is unfortunate. To ensure smooth handling of this and possible future changes in uuid generation, we add infrastructure for multiple different uuids to be recognised on old filehandles, but only the preferred on is used on new filehandles. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions