]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/fs/misc: fix filelock_interrupt.py 4170/head
authorYan, Zheng <zyan@redhat.com>
Mon, 2 Mar 2015 13:04:25 +0000 (21:04 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 25 Mar 2015 03:10:56 +0000 (11:10 +0800)
commit6f218b16030f28dc21e94678b87717035f2c04e8
tree50cdab7b3b057b6e478d4fc95c4bcc37e42142c9
parent4dbb9c872eb7222c06893840b6fe7b5c4a66d037
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.

Fixes: 11205
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 4ececa3dc4a21b98f61a592da9e2be60a0d71625)
qa/workunits/fs/misc/filelock_interrupt.py