From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: oldstat and friends Date: Sun, 6 Aug 2006 19:53:00 -0600 Message-ID: <20060807015300.GI4379@parisc-linux.org> References: <000701c6b9c2$2a21a5c0$0400a8c0@ameer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:61333 "EHLO palinux.external.hp.com") by vger.kernel.org with ESMTP id S1750880AbWHGBxB (ORCPT ); Sun, 6 Aug 2006 21:53:01 -0400 To: Ameer Armaly Content-Disposition: inline In-Reply-To: <000701c6b9c2$2a21a5c0$0400a8c0@ameer> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Aug 06, 2006 at 09:38:20PM -0400, Ameer Armaly wrote: > Hi all. I was reading in to some of the fs code, and I've found out that > oldstat and friends have been deprecated since linux 2.0. Is there any > reason why these calls should not be removed outright or are there cases > where they are still needed? We can still run binaries from 1991 or thereabouts. Removing oldstat would break that ability. We should probably make those symbols conditional on CONFIG_BINFMT_AOUT or introduce a new CONFIG_COMPAT_ANCIENT flag or something. Why are you keen to remove it? It doesn't cost many bytes of kernel image.