From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH 22/24] sysfs: Make sysfs_rename_link atomic Date: Fri, 29 May 2009 10:17:23 -0700 Message-ID: References: <1243551665-23596-22-git-send-email-ebiederm@xmission.com> <4A1FA7F4.9000708@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Cornelia Huck , linux-fsdevel@vger.kernel.org, Kay Sievers , Greg KH , "Eric W. Biederman" To: Tejun Heo Return-path: Received: from out01.mta.xmission.com ([166.70.13.231]:51665 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762031AbZE2RR1 (ORCPT ); Fri, 29 May 2009 13:17:27 -0400 In-Reply-To: <4A1FA7F4.9000708@kernel.org> (Tejun Heo's message of "Fri\, 29 May 2009 18\:16\:36 +0900") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Tejun Heo writes: > 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. While I am at add additional sanity >> checking to ensure it is a symlink I am renaming. >> >> Acked-by: Kay Sievers >> Signed-off-by: Eric W. Biederman > > It would be really nice to merge or group this together with the first > three patches. Other than that, Perfection is the enemy of the good on that one. That just convolutes things unnecessarily, makes the patches harder to review, and requires additional testing. I much prefer to work in a tree without rewinding. > Acked-by: Tejun Heo > > -- > tejun