Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759108AbZDWTMv (ORCPT ); Thu, 23 Apr 2009 15:12:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758363AbZDWTMS (ORCPT ); Thu, 23 Apr 2009 15:12:18 -0400 Received: from mu-out-0910.google.com ([209.85.134.187]:23378 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753005AbZDWTMQ (ORCPT ); Thu, 23 Apr 2009 15:12:16 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=C99N3dIyiopa4AJrAxlWPfatbbsO/b0Za5Bte07c8D+E4I3fNPVrmnBWqrXz/Bmlg0 0O4Wl4pgQyIqCTKl58FJji8NM7EEMLoUaIRDyLz9Rpzo6rmg2oY/mgsBAMx1cpvpp0d2 Ib03JxBuGsPNDRlGt4cZUR9qPEqPY+S9UotXo= From: Alessio Igor Bogani To: Ingo Molnar Cc: Jonathan Corbet , =?utf-8?q?Fr=C3=A9d=C3=A9ric=20Weisbecker?= , Peter Zijlstra , LKML , Alexander Viro , LFSDEV , Alessio Igor Bogani Subject: [PATCH 1/5 -tip] 9p: umount_begin BKL pushdown Date: Thu, 23 Apr 2009 21:12:01 +0200 Message-Id: <1240513925-5603-2-git-send-email-abogani@texware.it> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1240513925-5603-1-git-send-email-abogani@texware.it> References: <1240513925-5603-1-git-send-email-abogani@texware.it> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 951 Lines: 35 Signed-off-by: Alessio Igor Bogani --- fs/9p/vfs_super.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 5f8ab8a..2f64462 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -232,7 +233,9 @@ v9fs_umount_begin(struct super_block *sb) { struct v9fs_session_info *v9ses = sb->s_fs_info; + lock_kernel(); v9fs_session_cancel(v9ses); + unlock_kernel(); } static const struct super_operations v9fs_super_ops = { -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/