diff options
author | SeongJae Park <sj@kernel.org> | 2022-09-13 20:44:31 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:03:10 +0300 |
commit | 70e0c1d1bf945328915f52f7132b2d6ee8f25d46 (patch) | |
tree | 19e7991d214867c9fa95ac20684e04bee551ec3b /mm/damon/dbgfs.c | |
parent | 02f17037fc6e38ca1c00ac87a112372a3867ba45 (diff) | |
download | linux-70e0c1d1bf945328915f52f7132b2d6ee8f25d46.tar.xz |
mm/damon/core: factor out 'damos_quota' private fileds initialization
The 'struct damos' creation function, 'damon_new_scheme()', does
initialization of private fileds of 'struct damos_quota' in it. As its
verbose and makes the function unnecessarily long, this commit factors it
out to separate function.
Link: https://lkml.kernel.org/r/20220913174449.50645-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon/dbgfs.c')
0 files changed, 0 insertions, 0 deletions