]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up queue-5.4/devtmpfs-regression-fix-reconfigure-on-each-mount.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jan 2022 11:12:51 +0000 (12:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jan 2022 11:12:51 +0000 (12:12 +0100)
queue-5.4/devtmpfs-regression-fix-reconfigure-on-each-mount.patch

index f5629c32929da63b564f19a097de507c0babc8f2..e16874a24cfe561929f819ba67a4c4f9fce060ba 100644 (file)
@@ -24,14 +24,22 @@ Signed-off-by: NeilBrown <neilb@suse.de>
 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 ---
- drivers/base/devtmpfs.c    |    +++++++
+ drivers/base/devtmpfs.c    |    8 ++++++++
  fs/super.c                 |    4 ++--
  include/linux/fs_context.h |    2 ++
- 3 files changed, 11 insertions(+), 2 deletions(-)
+ 3 files changed, 12 insertions(+), 2 deletions(-)
 
 --- a/drivers/base/devtmpfs.c
 +++ b/drivers/base/devtmpfs.c
-@@ -62,8 +62,15 @@ static struct dentry *public_dev_mount(s
+@@ -25,6 +25,7 @@
+ #include <linux/sched.h>
+ #include <linux/slab.h>
+ #include <linux/kthread.h>
++#include <linux/fs_context.h>
+ #include <uapi/linux/mount.h>
+ #include "base.h"
+@@ -62,8 +63,15 @@ static struct dentry *public_dev_mount(s
                      const char *dev_name, void *data)
  {
        struct super_block *s = mnt->mnt_sb;