diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-04-18 06:24:57 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-04-23 22:37:54 +0300 |
commit | 37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47 (patch) | |
tree | 131b20cb2308f0fbd8b411fdeaf49d97b9ff7aa1 /mm | |
parent | 4b8222870032715f9d995f3eb7c7acd8379a275d (diff) | |
download | linux-37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47.tar.xz |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions