aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2022-02-04 16:44:40 +0000
committerVlastimil Babka <[email protected]>2022-04-06 08:57:38 +0000
commit0cd1a02901858049d14b5b9d4c5c680b012c8cc1 (patch)
tree164f4beeb9e22b9b6126c6c36496da6e3d4c90d5 /fs/jbd2/commit.c
parentlib/stackdepot: allow requesting early initialization dynamically (diff)
downloadkernel-0cd1a02901858049d14b5b9d4c5c680b012c8cc1.tar.gz
kernel-0cd1a02901858049d14b5b9d4c5c680b012c8cc1.zip
mm/slub: move struct track init out of set_track()
set_track() either zeroes out the struct track or fills it, depending on the addr parameter. This is unnecessary as there's only one place that calls it for the initialization - init_tracking(). We can simply do the zeroing there, with a single memset() that covers both TRACK_ALLOC and TRACK_FREE as they are adjacent. Signed-off-by: Vlastimil Babka <[email protected]> Reviewed-and-tested-by: Hyeonggon Yoo <[email protected]> Acked-by: David Rientjes <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions