summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-02 14:53:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:00 -0500
commit3c016355e44afbb10ee02b9ba09e107355b27f7a (patch)
tree9956717de54618fd7c0bf4d7917bfd65ac21a46d /source4/ntvfs/posix/vfs_posix.h
parentf4edfc21e5be94ef982caea1891b2305d7dfba85 (diff)
downloadsamba-3c016355e44afbb10ee02b9ba09e107355b27f7a.tar.gz
samba-3c016355e44afbb10ee02b9ba09e107355b27f7a.tar.bz2
samba-3c016355e44afbb10ee02b9ba09e107355b27f7a.zip
r12019: - let us only reference libblkid stuff in one file
- and make it it bit simpler, by caching the GUID struct instead of the device name - and this also removes all compiler warnings... metze (This used to be commit f4f0d626e00116e85a91962bf8534c1fbb69334c)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index f18864197d..9eec368157 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -26,21 +26,12 @@
#include "system/filesys.h"
#include "smb_server/smb_server.h"
-/* We use libblkid out of e2fsprogs to identify UUID of a volume */
-#ifdef HAVE_LIBBLKID
-#include <blkid/blkid.h>
-
-typedef struct {
- blkid_cache cache;
- const char *devname;
-} blkid_cache_wrap_t;
-#endif
-
/* this is the private structure for the posix vfs backend. It is used
to hold per-connection (per tree connect) state information */
struct pvfs_state {
struct smbsrv_tcon *tcon;
const char *base_directory;
+ struct GUID *base_fs_uuid;
const char *share_name;
uint_t flags;
@@ -83,10 +74,6 @@ struct pvfs_state {
const struct dom_sid *creator_owner;
const struct dom_sid *creator_group;
} sid_cache;
-
-#ifdef HAVE_LIBBLKID
- blkid_cache_wrap_t *blkid_cache;
-#endif
};
/* this is the basic information needed about a file from the filesystem */