summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2005-05-03 13:02:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:29 -0500
commit46727924a0ca1c255311121e8f0e2ecf7a66db1a (patch)
treee74537aba844ab404b982879ed03c2fed301fcfc /source4/ntvfs/posix/vfs_posix.c
parentf37f8a49a747c66193c70ef682e65c96d2bea5d5 (diff)
downloadsamba-46727924a0ca1c255311121e8f0e2ecf7a66db1a.tar.gz
samba-46727924a0ca1c255311121e8f0e2ecf7a66db1a.tar.bz2
samba-46727924a0ca1c255311121e8f0e2ecf7a66db1a.zip
r6599: Fix formating using 'linux' C style
Fix memory handling for blkid caches which need to be cleared when session is done. (This used to be commit c623cc60541f747f0a801eb77d97bb0a3bb6956f)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index ec8db07d01..1d3979aabf 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -88,6 +88,9 @@ static void pvfs_setup_options(struct pvfs_state *pvfs)
pvfs->sid_cache.creator_owner = dom_sid_parse_talloc(pvfs, SID_CREATOR_OWNER);
pvfs->sid_cache.creator_group = dom_sid_parse_talloc(pvfs, SID_CREATOR_GROUP);
+#ifdef HAVE_BLKID
+ pvfs->blkid_cache = NULL;
+#endif
}