Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757191AbZDXOlV (ORCPT ); Fri, 24 Apr 2009 10:41:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752769AbZDXOlI (ORCPT ); Fri, 24 Apr 2009 10:41:08 -0400 Received: from mx2.redhat.com ([66.187.237.31]:48328 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354AbZDXOlH (ORCPT ); Fri, 24 Apr 2009 10:41:07 -0400 Date: Fri, 24 Apr 2009 16:34:46 +0200 From: Oleg Nesterov To: Hugh Dickins Cc: Al Viro , Linus Torvalds , Andrew Morton , Joe Malicki , Michael Itz , Kenneth Baker , Chris Wright , David Howells , Alexey Dobriyan , Greg Kroah-Hartman , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Roland McGrath Subject: Re: [PATCH 3/2] check_unsafe_exec: rcu_read_unlock Message-ID: <20090424143446.GA6849@redhat.com> References: <20090406153127.GA21220@redhat.com> <20090421161006.GC5402@redhat.com> <20090421171530.GA12014@redhat.com> <20090423230156.GA31302@redhat.com> <20090423233157.GA22981@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 726 Lines: 25 On 04/24, Hugh Dickins wrote: > > --- 2.6.30-rc3-next-20090424/fs/exec.c 2009-04-24 12:23:43.000000000 +0100 > +++ linux/fs/exec.c 2009-04-24 12:26:10.000000000 +0100 > @@ -1043,7 +1043,7 @@ int check_unsafe_exec(struct linux_binpr > if (t->fs == p->fs) > n_fs++; > } > - rcu_read_lock(); > + rcu_read_unlock(); I'd say this change is not bad. Except it discloses the fact I didn't bother to test my trivial patch. Thanks a lot Hugh!!! And my apologies to all. Oleg. -- 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/