diff options
author | Karel Zak <kzak@redhat.com> | 2014-01-07 15:56:06 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-01-07 15:57:48 -0500 |
commit | 35640883cf34a32f893e9fecefbb193782e9bc75 (patch) | |
tree | df22e2007dfca0a84b5ee8cdc25b47a74e1938f7 /utils/gssd/gssd.c | |
parent | 9d404c0bc391c6d0294204cd9c7eba032d517013 (diff) | |
download | nfs-utils-35640883cf34a32f893e9fecefbb193782e9bc75.tar.gz nfs-utils-35640883cf34a32f893e9fecefbb193782e9bc75.tar.xz nfs-utils-35640883cf34a32f893e9fecefbb193782e9bc75.zip |
mountd: optimize libblkid usage
* use get_uuid_blkdev() only first time for the path (it means
that uuid_by_path() is called with type==0)
* don't use libblkid for btrfs, network or pseudo filesystems
Note that the patch defines the fs type ID rather than include
<linux/magic.h> as this file seems incomplete and libc specific).
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.c')
0 files changed, 0 insertions, 0 deletions