]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: anchor Inode while trimming caps 19060/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 19 Nov 2017 23:08:18 +0000 (15:08 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 21 Nov 2017 00:52:10 +0000 (16:52 -0800)
commit1439337e949c9fcb7d15eb38c22d19eb57d3d0f2
tree95277bf13afcfe3ae94f9eb0502a17ba38acfd21
parent664a2f9fae3f18e9184b5901925ebd2f791365fa
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>
src/client/Client.cc