diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-18 10:38:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:58:41 -0500 |
commit | 75140d6150264ba50a47e104c3ce1ae40bd3f0c8 (patch) | |
tree | 1345a43aeaaa6847a765ab69cb484a4dd7403d10 /source4/ntvfs/posix/pvfs_flush.c | |
parent | 9225c02aee19478fc4825c4b798a6757d140b5c0 (diff) | |
download | samba-75140d6150264ba50a47e104c3ce1ae40bd3f0c8.tar.gz samba-75140d6150264ba50a47e104c3ce1ae40bd3f0c8.tar.bz2 samba-75140d6150264ba50a47e104c3ce1ae40bd3f0c8.zip |
r14540: fix a talloc hierachie problem,
make sure file and search handles are cleaned up
before anything else in the pvfs_state struct,
as there destructors reply on a valid pvfs_state struct
metze
(This used to be commit aaa5d377b9b6145a83c0e686c7fbb7b561ae8988)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_flush.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_flush.c b/source4/ntvfs/posix/pvfs_flush.c index ad87ed623b..d21f257201 100644 --- a/source4/ntvfs/posix/pvfs_flush.c +++ b/source4/ntvfs/posix/pvfs_flush.c @@ -60,7 +60,7 @@ NTSTATUS pvfs_flush(struct ntvfs_module_context *ntvfs, } /* they are asking to flush all open files */ - for (f=pvfs->open_files;f;f=f->next) { + for (f=pvfs->files.list;f;f=f->next) { pvfs_flush_file(pvfs, f); } |