diff options
| author | Yan, Zheng <[email protected]> | 2019-04-18 03:24:57 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2019-04-23 19:37:54 +0000 |
| commit | 37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47 (patch) | |
| tree | 131b20cb2308f0fbd8b411fdeaf49d97b9ff7aa1 /lib/test_vmalloc.c | |
| parent | ceph: handle the case where a dentry has been renamed on outstanding req (diff) | |
| download | kernel-37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47.tar.gz kernel-37659182bff1eeaaeadcfc8f853c6d2b6dbc3f47.zip | |
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: [email protected]
Link: https://tracker.ceph.com/issues/38224
Reported-and-tested-by: Luis Henriques <[email protected]>
Signed-off-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions
