diff options
author | Ye Bin <yebin10@huawei.com> | 2024-04-07 08:53:55 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-05-09 16:52:31 +0200 |
commit | 26770a717cac57041d9414725e3e01dd19b08dd2 (patch) | |
tree | 92e7d3f3a3ba33bd7c63be10872446069878b7fa /fs/jbd2/commit.c | |
parent | jbd2: use shrink_type type instead of bool type for __jbd2_journal_clean_chec... (diff) | |
download | linux-26770a717cac57041d9414725e3e01dd19b08dd2.tar.xz linux-26770a717cac57041d9414725e3e01dd19b08dd2.zip |
jbd2: add prefix 'jbd2' for 'shrink_type'
As 'shrink_type' is exported. The module prefix 'jbd2' is added to
distinguish from memory reclamation.
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20240407065355.1528580-3-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index b341c396311b..75ea4e9a5cab 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -501,7 +501,7 @@ void jbd2_journal_commit_transaction(journal_t *journal) * frees some memory */ spin_lock(&journal->j_list_lock); - __jbd2_journal_clean_checkpoint_list(journal, SHRINK_BUSY_STOP); + __jbd2_journal_clean_checkpoint_list(journal, JBD2_SHRINK_BUSY_STOP); spin_unlock(&journal->j_list_lock); jbd2_debug(3, "JBD2: commit phase 1\n"); |