diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-10-11 05:01:52 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-10-11 05:01:52 +0000 |
commit | e4c5f7ca5e07c2f88174390795a2f209d14b18b2 (patch) | |
tree | f84c0bf8205df1d422971b4325101e7cc20c7237 /source/lib/ldb/common/ldb_parse.c | |
parent | e5daa563287637eff591423fc64c788b28fc167f (diff) | |
download | samba-e4c5f7ca5e07c2f88174390795a2f209d14b18b2.tar.gz samba-e4c5f7ca5e07c2f88174390795a2f209d14b18b2.tar.xz samba-e4c5f7ca5e07c2f88174390795a2f209d14b18b2.zip |
r10891: I noticed that the secrets.db was not being backed up on my system due
to msync/mmap not changing the mtime of the file. This patch ensures
that for successfully completed transactions we update the mtime.
I don't do this on all tdb writes as its too expensive, but doing it
just on transactions is bearable, as those cost quite a lot anyway.
Diffstat (limited to 'source/lib/ldb/common/ldb_parse.c')
0 files changed, 0 insertions, 0 deletions