diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fuse_i.h | 4 | ||||
-rw-r--r-- | kernel/inode.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index f0b69c2..5a4d7e7 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -36,6 +36,10 @@ #include <linux/list.h> #include <linux/spinlock.h> +#ifndef BUG_ON +#define BUG_ON(x) +#endif + /** Read combining parameters */ #define FUSE_BLOCK_SHIFT 16 #define FUSE_BLOCK_SIZE 65536 diff --git a/kernel/inode.c b/kernel/inode.c index 3c43f97..09479e1 100644 --- a/kernel/inode.c +++ b/kernel/inode.c @@ -46,6 +46,10 @@ MODULE_PARM_DESC(user_allow_other, "Allow non root user to specify the \"allow_o #define FS_SAFE 0 #endif +#ifndef MAX_LFS_FILESIZE +#define MAX_LFS_FILESIZE (((u64)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1) +#endif + struct fuse_mount_data { int fd; unsigned int rootmode; |