diff options
| author | Yan, Zheng <zyan@redhat.com> | 2019-04-18 11:24:57 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-16 19:44:43 +0200 |
| commit | b8d15c06cf0cc98ac472f051bb55b8c3a15027b6 (patch) | |
| tree | ccff0ca264005ce2af8694d0afcaaea90e18c8da /tools/perf/scripts/python/syscall-counts.py | |
| parent | 811fb30278b49cc604508510e1b77f1ede679c4e (diff) | |
ceph: fix ci->i_head_snapc leak
commit 37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
