diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-02 16:59:15 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-02 17:02:20 +0100 |
commit | d9bdd17522c6d2916aedb29721c79a9c421ec1eb (patch) | |
tree | c299fc84f0a41272905b1844c41e970372261838 /source3 | |
parent | f35a1b95aa6f50cb1bc919f4ab502ef2c38f6bf5 (diff) | |
download | samba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.tar.gz samba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.tar.bz2 samba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.zip |
s3: Fix a 100% CPU loop when ctdbd dies during a traverse
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 0af420412b..ffd79c9fe1 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1167,6 +1167,7 @@ NTSTATUS ctdbd_traverse(uint32 db_id, if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE)) { status = NT_STATUS_OK; + break; } if (!NT_STATUS_IS_OK(status)) { |