]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: Fix bug in FileLock
authorAnirudha Bose <ani07nov@gmail.com>
Sat, 18 Jun 2016 22:35:42 +0000 (04:05 +0530)
committerLoic Dachary <ldachary@redhat.com>
Wed, 26 Oct 2016 09:29:40 +0000 (11:29 +0200)
commit26cb5b6bfbd6eee46bfa3cf005b1cd9f06b0e262
tree4bffb8cb0ff35eda50ac1f08b71f688f821a39b9
parent91a9ca374f646966e31b015928a2cc60bc5225aa
ceph-disk: Fix bug in FileLock

Python fcntl.lockf() accepts a file descriptor, not a file object

Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
(cherry picked from commit df9cc2ce938a969f4044b63fd80030d00f64f060)
src/ceph-disk/ceph_disk/main.py