Yan, Zheng 37659182bf ceph: fix ci->i_head_snapc leak
We missed two places that i_wrbuffer_ref_head, i_wr_ref, i_dirty_caps
and i_flushing_caps may change. When they are all zeros, we should free
i_head_snapc.

Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/38224
Reported-and-tested-by: Luis Henriques <lhenriques@suse.com>
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-04-23 21:37:54 +02:00
..
2018-10-22 10:28:21 +02:00
2016-06-01 10:31:50 +02:00
2019-04-23 21:37:54 +02:00
2018-12-26 15:56:04 +01:00
2019-01-21 14:53:23 +01:00
2019-04-23 21:37:54 +02:00