[PATCH 6.1 086/132] ceph: fix use-after-free bug for inodes when flushing capsnaps