From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] Revert "__d_unalias() should refuse to move mountpoints" Date: Thu, 29 Nov 2012 22:09:57 +0000 Message-ID: <20121129220957.GV4939@ZenIV.linux.org.uk> References: <87txumrct6.fsf@xmission.com> <50615268.1040805@canonical.com> <8db34325-e8e4-4e24-85dd-c8951769e2b6@email.android.com> <506173A6.2050705@canonical.com> <87ipb2pemt.fsf@xmission.com> <50618F96.1020204@canonical.com> <87sja6nxvt.fsf@xmission.com> <20121129200612.GP4939@ZenIV.linux.org.uk> <20121129205334.GR4939@ZenIV.linux.org.uk> <20121129213034.GT4939@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Maarten Lankhorst , linux-fsdevel@vger.kernel.org, LKML To: "Eric W. Biederman" Return-path: Content-Disposition: inline In-Reply-To: <20121129213034.GT4939@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Nov 29, 2012 at 09:30:34PM +0000, Al Viro wrote: > + if (d_invalidate(dentry) != 0) { > + WARN_ON(1); > + goto out; > + } > dput(dentry); > } > } > h/openrisc/kernel/signal.c | 6 ++---- > arch/score/kernel/signal.c | 7 ++----- > arch/sh/kernel/signal_64.c | 6 ++---- > arch/um/kernel/exec.c | 3 ++- > 5 files changed, 9 insertions(+), 15 deletions(-) *boggle* Looks like scp has _not_ truncated the target until the end of transmission (and I've done :r from vi before it had done that). Weird... The file looks normal now, on both boxen. Oh, well...