Commit e5420598 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h

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.
This allows use to move it completely from include/linux/ to fs/ufs/
seeing as how the only in-kernel consumer is fs/ufs/.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Jan Kara <jack@ucw.cz>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bdc80787
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/string.h> #include <linux/string.h>
...@@ -19,6 +18,7 @@ ...@@ -19,6 +18,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
...@@ -17,6 +16,7 @@ ...@@ -17,6 +16,7 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/swap.h> #include <linux/swap.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/buffer_head.h> /* for sync_mapping_buffers() */ #include <linux/buffer_head.h> /* for sync_mapping_buffers() */
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
...@@ -34,6 +33,7 @@ ...@@ -34,6 +33,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
...@@ -38,6 +37,7 @@ ...@@ -38,6 +37,7 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -29,8 +29,9 @@ ...@@ -29,8 +29,9 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "util.h" #include "util.h"
......
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
...@@ -91,6 +90,7 @@ ...@@ -91,6 +90,7 @@
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/ufs_fs.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
...@@ -46,6 +45,7 @@ ...@@ -46,6 +45,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/sched.h> #include <linux/sched.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -35,16 +35,10 @@ ...@@ -35,16 +35,10 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/fs.h> #include <linux/fs.h>
#ifndef __KERNEL__
typedef __u64 __fs64;
typedef __u32 __fs32;
typedef __u16 __fs16;
#else
#include <asm/div64.h> #include <asm/div64.h>
typedef __u64 __bitwise __fs64; typedef __u64 __bitwise __fs64;
typedef __u32 __bitwise __fs32; typedef __u32 __bitwise __fs32;
typedef __u16 __bitwise __fs16; typedef __u16 __bitwise __fs16;
#endif
#define UFS_BBLOCK 0 #define UFS_BBLOCK 0
#define UFS_BBSIZE 8192 #define UFS_BBSIZE 8192
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ufs_fs.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include "ufs_fs.h"
#include "ufs.h" #include "ufs.h"
#include "swab.h" #include "swab.h"
#include "util.h" #include "util.h"
......
...@@ -338,7 +338,6 @@ unifdef-y += tty.h ...@@ -338,7 +338,6 @@ unifdef-y += tty.h
unifdef-y += types.h unifdef-y += types.h
unifdef-y += udf_fs_i.h unifdef-y += udf_fs_i.h
unifdef-y += udp.h unifdef-y += udp.h
unifdef-y += ufs_fs.h
unifdef-y += uinput.h unifdef-y += uinput.h
unifdef-y += uio.h unifdef-y += uio.h
unifdef-y += unistd.h unifdef-y += unistd.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment