]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Stop rpc.mountd from probing all known devices which causes
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 13 Mar 2008 15:30:18 +0000 (11:30 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 13 Mar 2008 15:30:18 +0000 (11:30 -0400)
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>
utils/mountd/cache.c

index 3a50c2647edd63a282e170957e3a1eb11315fb5f..f555dcc69684c83b60e8da7345224c0c893eb149 100644 (file)
@@ -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);