]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: fix open flags calculation
authorYan, Zheng <zyan@redhat.com>
Wed, 10 May 2017 00:13:52 +0000 (08:13 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 4 Jul 2017 21:12:50 +0000 (23:12 +0200)
commitac9aed9c2c46bd64384ae047f461b990cb3f6ffe
tree5524e04814ebbc9e7e1518755d0976de9271afac
parentdbe8a8ba848d5567db935d7cc945fdd85d8e9d3f
pybind: fix open flags calculation

(O_WRONLY | O_RDWR) is invaild open flags

Fixes: http://tracker.ceph.com/issues/19890
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 2c25c99cb4572ffae97555a56b24a4c4097dcdec)
src/pybind/cephfs/cephfs.pyx