From: OGAWA Hirofumi Subject: Re: [RFC] readdir mess Date: Wed, 13 Aug 2008 04:45:02 +0900 Message-ID: <87proe81c1.fsf@devron.myhome.or.jp> References: <20080812062241.GQ28946@ZenIV.linux.org.uk> <87ej4u9nf5.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Linus Torvalds Return-path: Received: from mail.parknet.ad.jp ([210.171.162.6]:60800 "EHLO mail.officemail.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbYHLTpG (ORCPT ); Tue, 12 Aug 2008 15:45:06 -0400 In-Reply-To: (Linus Torvalds's message of "Tue, 12 Aug 2008 10:18:49 -0700 (PDT)") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Linus Torvalds writes: > As to -EOVERFLOW, I suspect we are better off just dropping that whole > logic. Returning -EOVERFLOW and truncating the readdir listing is likely > much worse than the alternative. It made sense back when we needed to get > people to upgrade the system interfaces, now it just means that old > binaries won't work at all. However, there are some similar stuff: ->st_size, ->st_nlink and ->st_ino in stat() (cp_old_stat()). Maybe EOVERFLOW is the reason for consistency... -- OGAWA Hirofumi