diff options
author | 2024-08-14 12:19:43 -0400 | |
---|---|---|
committer | 2024-09-01 20:26:18 -0700 | |
commit | c27e6183c654c729bfb7248a9fa938ce74def4be (patch) | |
tree | 11ffd75d87728d56ea5ca267e2b09fce742e9679 /Documentation/admin-guide/mm | |
parent | maple_tree: remove repeated sanity checks from write helper functions (diff) | |
download | wireguard-linux-c27e6183c654c729bfb7248a9fa938ce74def4be.tar.xz wireguard-linux-c27e6183c654c729bfb7248a9fa938ce74def4be.zip |
maple_tree: remove unneeded mas_wr_walk() in mas_store_prealloc()
Users of mas_store_prealloc() enter this function with nodes already
preallocated. This means the store type must be already set. We can then
remove the call to mas_wr_store_type() and initialize the write state to
continue the partial walk that was done when determining the store type.
Link: https://lkml.kernel.org/r/20240814161944.55347-17-sidhartha.kumar@oracle.com
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide/mm')
0 files changed, 0 insertions, 0 deletions