Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765225AbZCaXf4 (ORCPT ); Tue, 31 Mar 2009 19:35:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764129AbZCaXV5 (ORCPT ); Tue, 31 Mar 2009 19:21:57 -0400 Received: from sous-sol.org ([216.99.217.87]:33299 "EHLO x200.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1764105AbZCaXV4 (ORCPT ); Tue, 31 Mar 2009 19:21:56 -0400 Message-Id: <20090331231719.586886888@sous-sol.org> User-Agent: quilt/0.47-1 Date: Tue, 31 Mar 2009 16:11:20 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , Willy Tarreau , Rodrigo Rubira Branco , Jake Edge , Eugene Teo , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Dan Carpenter , Jonathan Corbet Subject: [patch 35/45] Add a missing unlock_kernel() in raw_open() References: <20090331231045.719396245@sous-sol.org> Content-Disposition: inline; filename=add-a-missing-unlock_kernel-in-raw_open.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 31 -stable review patch. If anyone has any objections, please let us know. --------------------- From: Dan Carpenter upstream commit: 996ff68d8b358885c1de82a45517c607999947c7 Cc: stable@kernel.org Signed-off-by: Dan Carpenter Signed-off-by: Jonathan Corbet Signed-off-by: Chris Wright --- drivers/char/raw.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/char/raw.c +++ b/drivers/char/raw.c @@ -90,6 +90,7 @@ out1: blkdev_put(bdev, filp->f_mode); out: mutex_unlock(&raw_mutex); + unlock_kernel(); return err; } -- 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/