diff options
author | Christian Gromm <[email protected]> | 2020-01-23 16:38:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-24 10:08:41 +0100 |
commit | f9e6b51a998da782cfc201dc9309d3a3d8579fef (patch) | |
tree | 237b69ed9111f03a2a046a26f9a199a69e76bf51 /scripts/gcc-plugins/sancov_plugin.c | |
parent | b7935e52dd98696a8c1379f5b67b0c344ee3bc35 (diff) |
staging: next: configfs: fix release link
The functions link_destroy and link_release are both deleting list items.
link_release, however, does not check whether a certain link has already
been deleted from the list by function link_destroy. By fixing this
this patch prevents a kernel crash when removing the configuration
directory of a link that already has been destroyed.
Signed-off-by: Christian Gromm <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions