[PATCH 6.3 101/160] ceph: fix use-after-free bug for inodes when flushing capsnaps