summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 20:09:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 20:09:24 +0300
commit5c0cd3d4a976b906c3953ff0a0595ba37e04aaa6 (patch)
treefb4809fb9005d15637dda4c13be197809d519044 /drivers
parent274295c6e53f8b8b8dfa8b24a3fcb8a9d670c22c (diff)
parent4bca7e80b6455772b4bf3f536dcbc19aac424d6a (diff)
downloadlinux-5c0cd3d4a976b906c3953ff0a0595ba37e04aaa6.tar.xz
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();