diff options
author | Honggyu Kim <honggyu.kim@sk.com> | 2025-07-02 09:02:02 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-09 21:07:55 -0700 |
commit | f1221c8442616a6927aff836327777144545cb29 (patch) | |
tree | 61fe7a02d1ef2518052e0e11f2d956f86afb2b3e /scripts/gdb/linux/xarray.py | |
parent | d9e01c62b7a0c258a7481c083f84c766a8f5597c (diff) |
samples/damon: fix damon sample wsse for start failure
The damon_sample_wsse_start() can fail so we must reset the "enable"
parameter to "false" again for proper rollback.
In such cases, setting Y to "enable" then N triggers the similar crash
with wsse because damon sample start failed but the "enable" stays as Y.
Link: https://lkml.kernel.org/r/20250702000205.1921-3-honggyu.kim@sk.com
Fixes: b757c6cfc696 ("samples/damon/wsse: start and stop DAMON as the user requests")
Signed-off-by: Honggyu Kim <honggyu.kim@sk.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions