From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: [fix] Re: [git pull] VFS patches Date: Sat, 26 Apr 2008 05:25:00 +0100 Message-ID: <20080426042459.GG5882@ZenIV.linux.org.uk> References: <20080426020221.GF5882@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:38972 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbYDZEZC (ORCPT ); Sat, 26 Apr 2008 00:25:02 -0400 Content-Disposition: inline In-Reply-To: <20080426020221.GF5882@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Arrgghhh... Sorry about that, I'd been sure I'd folded that one, but it actually got lost. Please apply - that breaks execve(). Signed-off-by: Al Viro --- diff --git a/kernel/fork.c b/kernel/fork.c index 4df3949..a647542 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1788,7 +1788,7 @@ bad_unshare_out: int unshare_files(struct files_struct **displaced) { struct task_struct *task = current; - struct files_struct *copy; + struct files_struct *copy = NULL; int error; error = unshare_fd(CLONE_FILES, ©);