Skip to content
Commit 9af7c742 authored by Jinliang Zheng's avatar Jinliang Zheng Committed by Andrew Morton
Browse files

writeback: remove redundant checks for root memcg

The check for root memcg will be done in wb_get_lookup(), so remove the
redundant one to simplify the code.

Link: https://lkml.kernel.org/r/20230808084431.1632934-1-alexjlzheng@tencent.com


Signed-off-by: default avatarJinliang Zheng <alexjlzheng@tencent.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 97157d89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment