]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/patches/10-no-flush-blkid-cache.patch
Imported Debian patch 1.1.1-14
[nfs-utils.git] / debian / patches / 10-no-flush-blkid-cache.patch
1 Index: nfs-utils-1.1.1/utils/mountd/cache.c
2 ===================================================================
3 --- nfs-utils-1.1.1.orig/utils/mountd/cache.c
4 +++ nfs-utils-1.1.1/utils/mountd/cache.c
5 @@ -181,8 +181,6 @@ int get_uuid(char *path, char *uuid, int
6                 if (cache == NULL)
7                         blkid_get_cache(&cache, NULL);
8  
9 -               blkid_probe_all_new(cache);
10 -
11                 if (stat(path, &stb) != 0)
12                         return 0;
13                 devname = blkid_devno_to_devname(stb.st_dev);