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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2012-03-17 01:16:43 -04:00
parent a8a4b79b53
commit f466c6fdb3
29 changed files with 2354 additions and 2362 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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) */

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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 */

View file

@ -1,4 +1,4 @@
#include <linux/reiserfs_fs.h> #include "reiserfs.h"
#include <linux/mutex.h> #include <linux/mutex.h>
/* /*

View file

@ -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>

View file

@ -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) ? \

View file

@ -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, ...)
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

View file

@ -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>

2327
fs/reiserfs/reiserfs.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -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)

View file

@ -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>

View file

@ -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>

View file

@ -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 */

View file

@ -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>

View file

@ -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;

View file

@ -1,7 +1,7 @@
#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>

View file

@ -1,4 +1,4 @@
#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>

View file

@ -1,4 +1,4 @@
#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>

View file

@ -1,4 +1,4 @@
#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>

File diff suppressed because it is too large Load diff