On 4/2/19 12:15 AM, Jeff Layton wrote:
Hi Zheng!
I'm going over the cap handling in the kernel client, and saw this
that I didn't quite understand:
https://github.com/ceph/ceph-client/blob/daf5cc27eed99afdea8d96e71b89ba41f5…
In the event that ceph_try_drop_cap_snap returns true, we'll queue up
an extra iput for the inode. Where is that reference acquired?
Thanks,
It drops reference acquired by ceph_queue_cap_snap()
Regards
Yan, Zheng