aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorYe Bin <[email protected]>2024-04-07 06:53:55 +0000
committerTheodore Ts'o <[email protected]>2024-05-09 14:52:31 +0000
commit26770a717cac57041d9414725e3e01dd19b08dd2 (patch)
tree92e7d3f3a3ba33bd7c63be10872446069878b7fa /fs/jbd2/commit.c
parentjbd2: use shrink_type type instead of bool type for __jbd2_journal_clean_chec... (diff)
downloadkernel-26770a717cac57041d9414725e3e01dd19b08dd2.tar.gz
kernel-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 <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c2
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");