Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Adrian Bunk and committed by
Linus Torvalds
8b1919a1 4b0a8da7

+6 -5
+5
fs/freevxfs/vxfs_extern.h
··· 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 *, ··· 73 69 extern int vxfs_read_olt(struct super_block *, u_long); 74 70 75 71 /* vxfs_subr.c */ 72 + extern const struct address_space_operations vxfs_aops; 76 73 extern struct page * vxfs_get_page(struct address_space *, u_long); 77 74 extern void vxfs_put_page(struct page *); 78 75 extern struct buffer_head * vxfs_bread(struct inode *, int);
+1
fs/freevxfs/vxfs_immed.c
··· 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
-5
fs/freevxfs/vxfs_inode.c
··· 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