Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / fs / jbd2 / journal.c
index b083961..6350d38 100644 (file)
@@ -1415,7 +1415,8 @@ static journal_t *journal_init_common(struct block_device *bdev,
        if (percpu_counter_init(&journal->j_checkpoint_jh_count, 0, GFP_KERNEL))
                goto err_cleanup;
 
-       if (register_shrinker(&journal->j_shrinker)) {
+       if (register_shrinker(&journal->j_shrinker, "jbd2-journal:(%u:%u)",
+                             MAJOR(bdev->bd_dev), MINOR(bdev->bd_dev))) {
                percpu_counter_destroy(&journal->j_checkpoint_jh_count);
                goto err_cleanup;
        }