diff options
author | Li Nan <[email protected]> | 2024-02-26 11:14:38 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2024-02-26 10:22:22 -0800 |
commit | 9dd8702e7cd28ebf076ff838933f29cf671165ec (patch) | |
tree | 7d46656150025bd4f0146218ca79be7e137e5a9e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4e26593944e02446a75d911e11b759a9320c8273 (diff) |
md: clean up invalid BUG_ON in md_ioctl
'disk->private_data' is set to mddev in md_alloc() and never set to NULL,
and users need to open mddev before submitting ioctl. So mddev must not
have been freed during ioctl, and there is no need to check mddev here.
Clean up it.
Signed-off-by: Li Nan <[email protected]>
Reviewed-by: Yu Kuai <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions