diff options
Diffstat (limited to 'include/linux/ufs_fs.h')
-rw-r--r-- | include/linux/ufs_fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; | |||
45 | typedef __u16 __bitwise __fs16; | 45 | typedef __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) |