From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH] fs: change sys_truncate/sys_ftruncate length parameter type Date: Wed, 23 Sep 2009 10:18:39 -0700 (PDT) Message-ID: References: <20090923150326.GB23595@osiris.boeblingen.de.ibm.com> <4ABA4D53.2040607@zytor.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:46945 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbZIWRSu (ORCPT ); Wed, 23 Sep 2009 13:18:50 -0400 In-Reply-To: <4ABA4D53.2040607@zytor.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "H. Peter Anvin" Cc: Heiko Carstens , Andrew Morton , Christoph Hellwig , Al Viro , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, 23 Sep 2009, H. Peter Anvin wrote: > > I would argue that the current behavior is, if not incorrect (we define our > own ABI after all) at least unwanted (we want our ABI to be as close as > practical to the POSIX API.) I think we care a WHOLE LOT more about binary compatibility than we care about some POSIX case for a braindamaged and fundamentally broken system call anyway. The thing is, ftruncate() should take loff_t these days, so the old POSIX language is about a pointless system call where the _only_ thing that matters is legacy - and that legacy trumps any POSIX concerns. Linus