diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-08 08:58:41 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-03-08 09:28:17 +0100 |
commit | 11fb55e8a478eed8d2496dee4b2a9cf5a3619454 (patch) | |
tree | 77881e0229002533240e60ec738cf9fa913308bf /source4/ntvfs/common/opendb_tdb.c | |
parent | 76eaece42c2156a1405da0ee52954d9857340710 (diff) | |
download | samba-11fb55e8a478eed8d2496dee4b2a9cf5a3619454.tar.gz samba-11fb55e8a478eed8d2496dee4b2a9cf5a3619454.tar.bz2 samba-11fb55e8a478eed8d2496dee4b2a9cf5a3619454.zip |
opendb_tdb: correctly initialize modified to false
Otherwise this variable would never change its value...
metze
(This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
Diffstat (limited to 'source4/ntvfs/common/opendb_tdb.c')
-rw-r--r-- | source4/ntvfs/common/opendb_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/common/opendb_tdb.c b/source4/ntvfs/common/opendb_tdb.c index f71416ec83..a800cdbd7c 100644 --- a/source4/ntvfs/common/opendb_tdb.c +++ b/source4/ntvfs/common/opendb_tdb.c @@ -641,7 +641,7 @@ static NTSTATUS odb_tdb_break_oplocks(struct odb_lock *lck) NTSTATUS status; struct opendb_file file; int i; - bool modified = true; + bool modified = false; status = odb_pull_record(lck, &file); if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) { |