]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/fs/misc: fix filelock_interrupt.py 3841/head
authorYan, Zheng <zyan@redhat.com>
Mon, 2 Mar 2015 13:04:25 +0000 (21:04 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 2 Mar 2015 13:08:03 +0000 (21:08 +0800)
commit4ececa3dc4a21b98f61a592da9e2be60a0d71625
tree1cd689c21750b11fbd4391c17345bca51f82f1b8
parent3b424bfe22fe12ad39ecea8da1278a80b2357976
qa/workunits/fs/misc: fix filelock_interrupt.py

Handle the case that kernel does not support fcntl.F_OFD_SETLK.
Also fix the code that checks if fnctl fails with errno == EINTR.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
qa/workunits/fs/misc/filelock_interrupt.py