From: OGAWA Hirofumi Subject: Re: [RFC] st_nlink after rmdir() and rename() Date: Fri, 04 Mar 2011 05:50:19 +0900 Message-ID: <87pqq87wtw.fsf@devron.myhome.or.jp> References: <20110303032454.GI22723@ZenIV.linux.org.uk> <20110303060352.GK22723@ZenIV.linux.org.uk> <87tyfk7x0c.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain Cc: Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Linus Torvalds Return-path: In-Reply-To: <87tyfk7x0c.fsf@devron.myhome.or.jp> (OGAWA Hirofumi's message of "Fri, 04 Mar 2011 05:46:27 +0900") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org OGAWA Hirofumi writes: > (IIRC, it's checking i_nlink == 2, to know empty dir or not). Ah, the check would be it doesn't have sub dirs actually. -- OGAWA Hirofumi