aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 10:09:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 10:09:24 -0700
commit5c0cd3d4a976b906c3953ff0a0595ba37e04aaa6 (patch)
treefb4809fb9005d15637dda4c13be197809d519044 /drivers
parentMerge tag 'for-5.19/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm (diff)
parentinit: Initialize noop_backing_dev_info early (diff)
downloadlinux-dev-5c0cd3d4a976b906c3953ff0a0595ba37e04aaa6.tar.xz
linux-dev-5c0cd3d4a976b906c3953ff0a0595ba37e04aaa6.zip
Merge tag 'fs_for_v5.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull writeback and ext2 fixes from Jan Kara: "A fix for writeback bug which prevented machines with kdevtmpfs from booting and also one small ext2 bugfix in IO error handling" * tag 'fs_for_v5.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: init: Initialize noop_backing_dev_info early ext2: fix fs corruption when trying to remove a non-empty directory with IO error
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/init.c b/drivers/base/init.c
index d8d0fe687111..397eb9880cec 100644
--- a/drivers/base/init.c
+++ b/drivers/base/init.c
@@ -8,6 +8,7 @@
#include <linux/init.h>
#include <linux/memory.h>
#include <linux/of.h>
+#include <linux/backing-dev.h>
#include "base.h"
@@ -20,6 +21,7 @@
void __init driver_init(void)
{
/* These are the core pieces */
+ bdi_init(&noop_backing_dev_info);
devtmpfs_init();
devices_init();
buses_init();