Linux/linux 3765918 — fs/ceph mds_client.c snap.c
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 at vger.kernel.org Link: https://tracker.ceph.com/issues/38224 Reported-and-tested-by: Luis Henriques <lhenriques at suse.com> Signed-off-by: "Yan, Zheng" <zyan at redhat.com> Signed-off-by: Ilya Dryomov <idryomov at gmail.com>
Delta | File | |
---|---|---|
+9 | -0 | fs/ceph/mds_client.c |
+6 | -1 | fs/ceph/snap.c |
+15 | -1 | 2 files |