remount_fs does not need lock_kernel() anymore since that was pushed down some time ago. Since nothing needs smp_lock.h anymore lets remove it. Signed-off-by: Jan Blunck <jblunck@xxxxxxx> --- fs/super.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/super.c b/fs/super.c index 19eb70b..6fe4611 100644 --- a/fs/super.c +++ b/fs/super.c @@ -23,7 +23,6 @@ #include <linux/module.h> #include <linux/slab.h> #include <linux/init.h> -#include <linux/smp_lock.h> #include <linux/acct.h> #include <linux/blkdev.h> #include <linux/quotaops.h> @@ -618,8 +617,6 @@ static void do_emergency_remount(struct work_struct *work) down_write(&sb->s_umount); if (sb->s_root && sb->s_bdev && !(sb->s_flags & MS_RDONLY)) { /* - * ->remount_fs needs lock_kernel(). - * * What lock protects sb->s_flags?? */ do_remount_sb(sb, MS_RDONLY, NULL, 1); -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html