]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs/flock.cc: don't release lock before EWOULDBLOCK check 4117/head
authorYan, Zheng <zyan@redhat.com>
Thu, 19 Mar 2015 09:58:28 +0000 (17:58 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 20 Mar 2015 08:01:05 +0000 (16:01 +0800)
commitb57e13fd3c345a9669142ebdf5593e0532a21813
treeb072a5af27ddee11eddc86e7930904b6ab57ab0e
parentce244ca940e0bee24d0eb52affb3d4bc9054a854
test/libcephfs/flock.cc: don't release lock before EWOULDBLOCK check

make sure the main thread/process not release the file lock before
workers execute the operation that supposes to return EWOULDBLOCK.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/test/libcephfs/flock.cc