Patchworkβ [01/27] BKL: Push down BKL from do_new_mount() to the filesystems get_sb/fill_super operation

login
register
about
Submitter Phillip Lougher
Date 2009-11-03 16:19:02
Message ID <E1N5M62-00007S-PZ@dylan.lougher.demon.co.uk>
Download mbox | patch
Permalink /patch/57329/
State New
Headers show

Comments

Phillip Lougher - 2009-11-03 16:19:02
Jan Blunck wrote:
> Attached is a new version of the patch that includes the changes for
> filesystems outside of fs/ directory as well. Besides that I trimmed the CC
> list this time.

Your patch fails to compile for configfs/btrfs/cramfs/befs and efs due
to a missing <linux/smp_lock.h> (at least with my .config).  The following
should fix this.

Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
---
 fs/befs/linuxvfs.c  |    1 +
 fs/btrfs/super.c    |    1 +
 fs/configfs/mount.c |    1 +
 fs/cramfs/inode.c   |    1 +
 fs/efs/super.c      |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index f2aa193..ca48bc7 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -15,6 +15,7 @@ 
 #include <linux/vfs.h>
 #include <linux/parser.h>
 #include <linux/namei.h>
+#include <linux/smp_lock.h>
 
 #include "befs.h"
 #include "btree.h"
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index e5cd2cf..87a0185 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -38,6 +38,7 @@ 
 #include <linux/namei.h>
 #include <linux/miscdevice.h>
 #include <linux/magic.h>
+#include <linux/smp_lock.h>
 #include "compat.h"
 #include "ctree.h"
 #include "disk-io.h"
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c
index 5b2e06e..3d0e614 100644
--- a/fs/configfs/mount.c
+++ b/fs/configfs/mount.c
@@ -29,6 +29,7 @@ 
 #include <linux/mount.h>
 #include <linux/pagemap.h>
 #include <linux/init.h>
+#include <linux/smp_lock.h>
 
 #include <linux/configfs.h>
 #include "configfs_internal.h"
diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index 13e696a..77aa05b 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -23,6 +23,7 @@ 
 #include <linux/buffer_head.h>
 #include <linux/vfs.h>
 #include <linux/mutex.h>
+#include <linux/smp_lock.h>
 
 #include <asm/uaccess.h>
 
diff --git a/fs/efs/super.c b/fs/efs/super.c
index 0981141..6a7d0fe 100644
--- a/fs/efs/super.c
+++ b/fs/efs/super.c
@@ -12,6 +12,7 @@ 
 #include <linux/slab.h>
 #include <linux/buffer_head.h>
 #include <linux/vfs.h>
+#include <linux/smp_lock.h>
 
 #include "efs.h"
 #include <linux/efs_vh.h>