aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-12 03:52:27 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:30 -0500
commiteb5857084c8d27764b842025e4c805b174e40cad (patch)
tree4b684d31e295f81d23ed61e08466b3bfe875de10 /include
parent944be0b224724fcbf63c3a3fe3a5478c325a6547 (diff)
[PATCH] export ufs_fs.h to userspace
Was ufs_fs.h purposefully not exported to userspace or did it just slip through the cracks ? assuming the latter scenario, the attached patch touches up the relationship between ufs_fs.h and its sub headers (like ufs_fs_sb.h) so that we can export it ... the silo bootloader takes advantage of this header for example. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/Kbuild1
-rw-r--r--include/linux/ufs_fs.h4
-rw-r--r--include/linux/ufs_fs_sb.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index bb881c3219fa..e81e301a4d71 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -323,6 +323,7 @@ unifdef-y += tty.h
323unifdef-y += types.h 323unifdef-y += types.h
324unifdef-y += udf_fs_i.h 324unifdef-y += udf_fs_i.h
325unifdef-y += udp.h 325unifdef-y += udp.h
326unifdef-y += ufs_fs.h
326unifdef-y += uinput.h 327unifdef-y += uinput.h
327unifdef-y += uio.h 328unifdef-y += uio.h
328unifdef-y += unistd.h 329unifdef-y += unistd.h
diff --git a/include/linux/ufs_fs.h b/include/linux/ufs_fs.h
index d3a4f994a5dc..5014604d0a50 100644
--- a/include/linux/ufs_fs.h
+++ b/include/linux/ufs_fs.h
@@ -45,8 +45,10 @@ typedef __u32 __bitwise __fs32;
45typedef __u16 __bitwise __fs16; 45typedef __u16 __bitwise __fs16;
46#endif 46#endif
47 47
48#ifdef __KERNEL__
48#include <linux/ufs_fs_i.h> 49#include <linux/ufs_fs_i.h>
49#include <linux/ufs_fs_sb.h> 50#include <linux/ufs_fs_sb.h>
51#endif
50 52
51#define UFS_BBLOCK 0 53#define UFS_BBLOCK 0
52#define UFS_BBSIZE 8192 54#define UFS_BBSIZE 8192
@@ -303,7 +305,7 @@ typedef __u16 __bitwise __fs16;
303#define UFS_MAXMNTLEN 512 305#define UFS_MAXMNTLEN 512
304#define UFS2_MAXMNTLEN 468 306#define UFS2_MAXMNTLEN 468
305#define UFS2_MAXVOLLEN 32 307#define UFS2_MAXVOLLEN 32
306/* #define UFS_MAXCSBUFS 31 */ 308#define UFS_MAXCSBUFS 31
307#define UFS_LINK_MAX 32000 309#define UFS_LINK_MAX 32000
308/* 310/*
309#define UFS2_NOCSPTRS ((128 / sizeof(void *)) - 4) 311#define UFS2_NOCSPTRS ((128 / sizeof(void *)) - 4)
diff --git a/include/linux/ufs_fs_sb.h b/include/linux/ufs_fs_sb.h
index 8ff13c160f3d..e114c93fc578 100644
--- a/include/linux/ufs_fs_sb.h
+++ b/include/linux/ufs_fs_sb.h
@@ -21,7 +21,6 @@
21struct ufs_sb_private_info; 21struct ufs_sb_private_info;
22struct ufs_cg_private_info; 22struct ufs_cg_private_info;
23struct ufs_csum; 23struct ufs_csum;
24#define UFS_MAXCSBUFS 31
25 24
26struct ufs_sb_info { 25struct ufs_sb_info {
27 struct ufs_sb_private_info * s_uspi; 26 struct ufs_sb_private_info * s_uspi;