]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: make Client::open() pass proper cap mask to path_walk 36701/head
authorYan, Zheng <zyan@redhat.com>
Tue, 18 Aug 2020 14:20:45 +0000 (22:20 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 19 Aug 2020 00:07:17 +0000 (08:07 +0800)
commit135936bb34ba2fe671c4c85abcdab3144191a881
tree5ca545319112c27e9f76900e74a81eb64f41766f
parente833956918923b3362942c561ac10e99c384455d
client: make Client::open() pass proper cap mask to path_walk

variable 'mode' is new file's mode. It shouldn't be passed to
ceph_caps_for_mode().

Fixes: https://tracker.ceph.com/issues/47011
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc