Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 28 Jan 2002 14:49:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 28 Jan 2002 14:49:13 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:11313 "EHLO frodo.biederman.org") by vger.kernel.org with ESMTP id ; Mon, 28 Jan 2002 14:48:28 -0500 To: DervishD Cc: Linux-kernel Subject: Re: Why 'linux/fs.h' cannot be included? I *can*... In-Reply-To: From: ebiederm@xmission.com (Eric W. Biederman) Date: 28 Jan 2002 12:44:59 -0700 In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org DervishD writes: > Hello all :)) > > I've reading the source code for 'blockdev', from util-linux, and > the comments says that the header 'linux/fs.h' cannot be included. > I've tried, just adding an include and removing the hand made > definitions (cloning those of fs.h), and all works ok :?? > > This header can be included or not? It works for me, with headers > from 2.4.17, so, is it just for backwards compatibility? Policy. It is for forwards compatibility. The general policy on kernel headers is that if it breaks you get to keep the pieces. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/