Skip to content

Commit

Permalink
fs/freevxfs/: proper externs
Browse files Browse the repository at this point in the history
Move the extern declarations of several structs to vxfs_extern.h

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Apr 29, 2008
1 parent 4b0a8da commit 8b1919a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions fs/freevxfs/vxfs_extern.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern daddr_t vxfs_bmap1(struct inode *, long);
/* vxfs_fshead.c */
extern int vxfs_read_fshead(struct super_block *);

/* vxfs_immed.c */
extern const struct inode_operations vxfs_immed_symlink_iops;

/* vxfs_inode.c */
extern const struct address_space_operations vxfs_immed_aops;
extern struct kmem_cache *vxfs_inode_cachep;
extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t);
extern struct inode * vxfs_get_fake_inode(struct super_block *,
Expand All @@ -69,6 +73,7 @@ extern const struct file_operations vxfs_dir_operations;
extern int vxfs_read_olt(struct super_block *, u_long);

/* vxfs_subr.c */
extern const struct address_space_operations vxfs_aops;
extern struct page * vxfs_get_page(struct address_space *, u_long);
extern void vxfs_put_page(struct page *);
extern struct buffer_head * vxfs_bread(struct inode *, int);
Expand Down
1 change: 1 addition & 0 deletions fs/freevxfs/vxfs_immed.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <linux/namei.h>

#include "vxfs.h"
#include "vxfs_extern.h"
#include "vxfs_inode.h"


Expand Down
5 changes: 0 additions & 5 deletions fs/freevxfs/vxfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
#include "vxfs_extern.h"


extern const struct address_space_operations vxfs_aops;
extern const struct address_space_operations vxfs_immed_aops;

extern const struct inode_operations vxfs_immed_symlink_iops;

struct kmem_cache *vxfs_inode_cachep;


Expand Down

0 comments on commit 8b1919a

Please sign in to comment.