From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Subject: Re: [PATCH 22/20] sysfs: Make sysfs_rename_link atomic Date: Sat, 23 May 2009 23:32:44 +0200 Message-ID: References: <1243109591-21611-2-git-send-email-ebiederm@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Tejun Heo , Cornelia Huck , linux-fsdevel@vger.kernel.org, "Eric W. Biederman" To: "Eric W. Biederman" Return-path: Received: from mail-bw0-f174.google.com ([209.85.218.174]:48632 "EHLO mail-bw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753531AbZEWVdE convert rfc822-to-8bit (ORCPT ); Sat, 23 May 2009 17:33:04 -0400 In-Reply-To: <1243109591-21611-2-git-send-email-ebiederm@xmission.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, May 23, 2009 at 22:13, Eric W. Biederman wrote: > From: Eric W. Biederman > > Use the existing sysfs_rename to make sysfs_rename_link an atomic > operation that does less work. =C2=A0While I am at add additional san= ity > checking to ensure it is a symlink I am renaming. > > Signed-off-by: Eric W. Biederman Looks great, and so much better than the remove and re-create thing. Acked-by: Kay Sievers Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html