Commit f466c6fd authored by Al Viro's avatar Al Viro

move private bits of reiserfs_fs.h to fs/reiserfs/reiserfs.h

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a8a4b79b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* Reiserfs block (de)allocator, bitmap-based. */ /* Reiserfs block (de)allocator, bitmap-based. */
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include "acl.h" #include "acl.h"
#include "xattr.h" #include "xattr.h"
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
/* To make any changes in the tree we find a node, that contains item /* To make any changes in the tree we find a node, that contains item
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
// //
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <asm/types.h> #include <asm/types.h>
#define DELTA 0x9E3779B9 #define DELTA 0x9E3779B9
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
/* this is one and only function that is used outside (do_balance.c) */ /* this is one and only function that is used outside (do_balance.c) */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include "acl.h" #include "acl.h"
#include "xattr.h" #include "xattr.h"
#include <linux/exportfs.h> #include <linux/exportfs.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/time.h> #include <linux/time.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
// this contains item handlers for old item types: sd, direct, // this contains item handlers for old item types: sd, direct,
// indirect, directory // indirect, directory
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/semaphore.h> #include <linux/semaphore.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fcntl.h> #include <linux/fcntl.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
/* these are used in do_balance.c */ /* these are used in do_balance.c */
......
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/mutex.h> #include <linux/mutex.h>
/* /*
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include "acl.h" #include "acl.h"
#include "xattr.h" #include "xattr.h"
#include <linux/quotaops.h> #include <linux/quotaops.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/random.h> #include <linux/random.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
// find where objectid map starts // find where objectid map starts
#define objectid_map(s,rs) (old_format_only (s) ? \ #define objectid_map(s,rs) (old_format_only (s) ? \
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/string.h> #include <linux/string.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
...@@ -329,7 +329,7 @@ void reiserfs_debug(struct super_block *s, int level, const char *fmt, ...) ...@@ -329,7 +329,7 @@ void reiserfs_debug(struct super_block *s, int level, const char *fmt, ...)
Numbering scheme for panic used by Vladimir and Anatoly( Hans completely ignores this scheme, and considers it Numbering scheme for panic used by Vladimir and Anatoly( Hans completely ignores this scheme, and considers it
pointless complexity): pointless complexity):
panics in reiserfs_fs.h have numbers from 1000 to 1999 panics in reiserfs.h have numbers from 1000 to 1999
super.c 2000 to 2999 super.c 2000 to 2999
preserve.c (unused) 3000 to 3999 preserve.c (unused) 3000 to 3999
bitmap.c 4000 to 4999 bitmap.c 4000 to 4999
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/init.h> #include <linux/init.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
......
This diff is collapsed.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
int reiserfs_resize(struct super_block *s, unsigned long block_count_new) int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/time.h> #include <linux/time.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include "acl.h" #include "acl.h"
#include "xattr.h" #include "xattr.h"
#include <linux/init.h> #include <linux/init.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
/* access to tail : when one is going to read tail it must make sure, that is not running. /* access to tail : when one is going to read tail it must make sure, that is not running.
direct2indirect and indirect2direct can not run concurrently */ direct2indirect and indirect2direct can not run concurrently */
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* The xattrs themselves are protected by the xattr_sem. * The xattrs themselves are protected by the xattr_sem.
*/ */
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/dcache.h> #include <linux/dcache.h>
#include <linux/namei.h> #include <linux/namei.h>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/rwsem.h> #include <linux/rwsem.h>
#include <linux/reiserfs_fs.h>
struct inode; struct inode;
struct dentry; struct dentry;
......
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/posix_acl.h> #include <linux/posix_acl.h>
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/xattr.h> #include <linux/xattr.h>
......
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
......
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
......
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
......
This diff is collapsed.
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