LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [patch] drop linux/ufs_fs.h from userspace export
Date: Sat, 26 Jan 2008 04:09:52 -0500	[thread overview]
Message-ID: <200801260409.53276.vapier@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

Per previous discussions about cleaning up ufs_fs.h, people just want this
straight up dropped from userspace export.  The only remaining consumer (silo)
has been fixed a while ago to not rely on this header.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/linux/Kbuild   |    1 -
 include/linux/ufs_fs.h |    6 ------
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index bd694f7..4076575 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -337,7 +337,6 @@ unifdef-y += tty.h
 unifdef-y += types.h
 unifdef-y += udf_fs_i.h
 unifdef-y += udp.h
-unifdef-y += ufs_fs.h
 unifdef-y += uinput.h
 unifdef-y += uio.h
 unifdef-y += unistd.h
diff --git a/include/linux/ufs_fs.h b/include/linux/ufs_fs.h
index 10b854d..46e4a8d 100644
--- a/include/linux/ufs_fs.h
+++ b/include/linux/ufs_fs.h
@@ -35,16 +35,10 @@
 #include <linux/stat.h>
 #include <linux/fs.h>
 
-#ifndef __KERNEL__
-typedef __u64 __fs64;
-typedef __u32 __fs32;
-typedef __u16 __fs16;
-#else
 #include <asm/div64.h>
 typedef __u64 __bitwise __fs64;
 typedef __u32 __bitwise __fs32;
 typedef __u16 __bitwise __fs16;
-#endif
 
 #define UFS_BBLOCK 0
 #define UFS_BBSIZE 8192
-- 
1.5.3.8

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

             reply	other threads:[~2008-01-26  9:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26  9:09 Mike Frysinger [this message]
2008-01-26 20:23 ` Christoph Hellwig
2008-01-26 21:17   ` Mike Frysinger
2008-01-28  5:33 ` Andrew Morton
2008-01-28  7:41   ` [patch] drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h Mike Frysinger
2008-01-28  9:18     ` Andrew Morton
2008-01-28  9:58       ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801260409.53276.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [patch] drop linux/ufs_fs.h from userspace export' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).