Fix handling of explicit uuid
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 28 Aug 2008 14:29:54 +0000 (10:29 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 28 Aug 2008 14:29:54 +0000 (10:29 -0400)
commit0ae97c5b87a56870e74a74ae50aeb2ae0e496907
tree5b7641804cac2adee510efd507cbd6859d1059b0
parent86c3a79a108091fe08869a887438cc2d4e1126ed
Fix handling of explicit uuid

Fix a couple of bugs which show up if you try to explicitly set a
16-byte UUID when exporting a file system. First, exportfs cuts the
first two bytes off the UUID and writes something invalid to etab.
Second, mountd writes the _ascii_ form of the UUID to the kernel,
instead of converting it to hex.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/exports.c
utils/mountd/cache.c