summaryrefslogtreecommitdiffstats
path: root/support/nfs/cacheio.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-02-12 12:25:03 +1100
committerNeil Brown <neilb@suse.de>2007-02-12 12:25:03 +1100
commite91ff0175602cc56f223f1d92de6511099fa40d1 (patch)
tree7d98e93a037f2986572659fa8d2ea2287317cd83 /support/nfs/cacheio.c
parentf981e46adaab5da3d105b5adf735e9ce9c19a1d5 (diff)
downloadnfs-utils-e91ff0175602cc56f223f1d92de6511099fa40d1.tar.gz
nfs-utils-e91ff0175602cc56f223f1d92de6511099fa40d1.tar.xz
nfs-utils-e91ff0175602cc56f223f1d92de6511099fa40d1.zip
Use UUIDs to identify filesystems if kernel supports it.
This introduces a new dependancy on libblkid. If a filesystem being exported has a UUID that libblkid can extract, then that is passed to the kernel for use in identifying the filesystem in filehandles. This means that 'fsid=' is no longer needed to work around the problem of device numbers changing. fsid= is still needed for fielsystems that have no device, and can now be given 16byute uuid instead of just a 32bit one.
Diffstat (limited to 'support/nfs/cacheio.c')
-rw-r--r--support/nfs/cacheio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c
index a4bfedb..4df80a6 100644
--- a/support/nfs/cacheio.c
+++ b/support/nfs/cacheio.c
@@ -249,7 +249,7 @@ cache_flush(int force)
char path[200];
time_t now;
/* Note: the order of these caches is important.
- * The need to be flushed in dependancy order. So
+ * They need to be flushed in dependancy order. So
* a cache that references items in another cache,
* as nfsd.fh entries reference items in nfsd.export,
* must be flushed before the cache that it references.