diff options
author | Steinar H. Gunderson <sgunderson@bigfoot.com> | 2008-03-13 11:30:18 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-03-13 11:30:18 -0400 |
commit | eed0765ee5a4b578d57672e22665b63db526b971 (patch) | |
tree | 4ca52a67dbb3ae636ed7ec7eac4aaec27b2aa456 /utils/mountd | |
parent | ab26cd622e1a5ef22be2df1f3176158b1505df30 (diff) | |
download | nfs-utils-eed0765ee5a4b578d57672e22665b63db526b971.tar.gz nfs-utils-eed0765ee5a4b578d57672e22665b63db526b971.tar.xz nfs-utils-eed0765ee5a4b578d57672e22665b63db526b971.zip |
Stop rpc.mountd from probing all known devices which causes
idle disks to spin up for basically no reason.
Signed-off-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd')
-rw-r--r-- | utils/mountd/cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 3a50c26..f555dcc 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -184,8 +184,6 @@ int get_uuid(char *path, char *uuid, int uuidlen, char *u) if (cache == NULL) blkid_get_cache(&cache, NULL); - blkid_probe_all_new(cache); - if (stat(path, &stb) != 0) return 0; devname = blkid_devno_to_devname(stb.st_dev); |