diff options
| author | Petr Tesarik <[email protected]> | 2025-02-13 11:44:53 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-17 05:06:15 +0000 |
| commit | 18ea595a07bcf931ec6efae5c1f8a0d9a440ed97 (patch) | |
| tree | e57f11a259b1b007f3394b4c6fd6f898a5690eea /mm/filemap.c | |
| parent | tools/selftests: add file/shmem-backed mapping guard region tests (diff) | |
| download | kernel-18ea595a07bcf931ec6efae5c1f8a0d9a440ed97.tar.gz kernel-18ea595a07bcf931ec6efae5c1f8a0d9a440ed97.zip | |
maple_tree: remove a BUG_ON() in mas_alloc_nodes()
Remove a BUG_ON() right before a WARN_ON() with the same condition.
Calling WARN_ON() and BUG_ON() here is definitely wrong. Since the goal is
generally to remove BUG_ON() invocations from the kernel, keep only the
WARN_ON().
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 067311d33e65 ("maple_tree: separate ma_state node from status")
Signed-off-by: Petr Tesarik <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions
