Commit 8b1919a1e8b8968e0ac9030a4f14f0d2cd69e7cf

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent 4b0a8da7a7

fs/freevxfs/: proper externs

Move the extern declarations of several structs to vxfs_extern.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 3 changed files with 6 additions and 5 deletions Side-by-side Diff

fs/freevxfs/vxfs_extern.h
... ... @@ -50,7 +50,11 @@
50 50 /* vxfs_fshead.c */
51 51 extern int vxfs_read_fshead(struct super_block *);
52 52  
  53 +/* vxfs_immed.c */
  54 +extern const struct inode_operations vxfs_immed_symlink_iops;
  55 +
53 56 /* vxfs_inode.c */
  57 +extern const struct address_space_operations vxfs_immed_aops;
54 58 extern struct kmem_cache *vxfs_inode_cachep;
55 59 extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t);
56 60 extern struct inode * vxfs_get_fake_inode(struct super_block *,
... ... @@ -69,6 +73,7 @@
69 73 extern int vxfs_read_olt(struct super_block *, u_long);
70 74  
71 75 /* vxfs_subr.c */
  76 +extern const struct address_space_operations vxfs_aops;
72 77 extern struct page * vxfs_get_page(struct address_space *, u_long);
73 78 extern void vxfs_put_page(struct page *);
74 79 extern struct buffer_head * vxfs_bread(struct inode *, int);
fs/freevxfs/vxfs_immed.c
... ... @@ -35,6 +35,7 @@
35 35 #include <linux/namei.h>
36 36  
37 37 #include "vxfs.h"
  38 +#include "vxfs_extern.h"
38 39 #include "vxfs_inode.h"
39 40  
40 41  
fs/freevxfs/vxfs_inode.c
... ... @@ -41,11 +41,6 @@
41 41 #include "vxfs_extern.h"
42 42  
43 43  
44   -extern const struct address_space_operations vxfs_aops;
45   -extern const struct address_space_operations vxfs_immed_aops;
46   -
47   -extern const struct inode_operations vxfs_immed_symlink_iops;
48   -
49 44 struct kmem_cache *vxfs_inode_cachep;
50 45  
51 46