]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: anchor Inode while trimming caps 19105/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 19 Nov 2017 23:08:18 +0000 (15:08 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 22 Nov 2017 21:49:57 +0000 (13:49 -0800)
commit4dda1b6ead6b1f04f996403881f61e9b7d94dba0
treec60b31a56c1a728b38bd13eba7b3ee631843c2cc
parentecec65906af60c16fc99f669c1591bb821305a64
client: anchor Inode while trimming caps

This prevents the Inode from being deleted until after cap trimming is
finished. In particular, this prevents remove_all_caps from being called which
screws up the traversal of caps in trim_caps.

Fixes: http://tracker.ceph.com/issues/22157
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 1439337e949c9fcb7d15eb38c22d19eb57d3d0f2)
src/client/Client.cc