[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1240513925-5603-6-git-send-email-abogani@texware.it>
Date: Thu, 23 Apr 2009 21:12:05 +0200
From: Alessio Igor Bogani <abogani@...ware.it>
To: Ingo Molnar <mingo@...e.hu>
Cc: Jonathan Corbet <corbet@....net>,
Frédéric Weisbecker <fweisbec@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
LKML <linux-kernel@...r.kernel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
LFSDEV <linux-fsdevel@...r.kernel.org>,
Alessio Igor Bogani <abogani@...ware.it>
Subject: [PATCH 5/5 -tip] vfs: Don-t call umount_begin with BKL held
Every filesystem should acquire BKL or provide an adeguate locking
mechanism.
Signed-off-by: Alessio Igor Bogani <abogani@...ware.it>
---
fs/namespace.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index c6f54e4..f046f4b 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1073,9 +1073,7 @@ static int do_umount(struct vfsmount *mnt, int flags)
*/
if (flags & MNT_FORCE && sb->s_op->umount_begin) {
- lock_kernel();
sb->s_op->umount_begin(sb);
- unlock_kernel();
}
/*
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists