diff options
author | Jeremy Allison <jra@samba.org> | 2009-07-15 11:49:33 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-07-15 11:49:33 -0700 |
commit | 1f5aec877fc48ff96b14a0e95f01c68a29dd8718 (patch) | |
tree | 4c3ab1b8c1a1b706531ae3d80969f6d00b0fc29a /source3/torture/locktest.c | |
parent | b76ab511f7238820a4e6ac3a2ae17d103f2bf9b9 (diff) | |
download | samba-1f5aec877fc48ff96b14a0e95f01c68a29dd8718.tar.gz samba-1f5aec877fc48ff96b14a0e95f01c68a29dd8718.tar.bz2 samba-1f5aec877fc48ff96b14a0e95f01c68a29dd8718.zip |
Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.
Jeremy.
Diffstat (limited to 'source3/torture/locktest.c')
-rw-r--r-- | source3/torture/locktest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 30b84c073d..a90c2e2dfe 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -341,9 +341,9 @@ static bool test_one(struct cli_state *cli[NSERVERS][NCONNECTIONS], case OP_UNLOCK: /* unset a lock */ for (server=0;server<NSERVERS;server++) { - ret[server] = cli_unlock64(cli[server][conn], + ret[server] = NT_STATUS_IS_OK(cli_unlock64(cli[server][conn], fnum[server][conn][f], - start, len); + start, len)); status[server] = cli_nt_error(cli[server][conn]); } if (showall || |