JFS: fix sparse warnings by moving extern declarations to headers
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/quotaops.h>
|
||||
#include "jfs_incore.h"
|
||||
#include "jfs_inode.h"
|
||||
#include "jfs_filsys.h"
|
||||
#include "jfs_imap.h"
|
||||
#include "jfs_extent.h"
|
||||
@@ -30,14 +31,6 @@
|
||||
#include "jfs_debug.h"
|
||||
|
||||
|
||||
extern struct inode_operations jfs_dir_inode_operations;
|
||||
extern struct inode_operations jfs_file_inode_operations;
|
||||
extern struct inode_operations jfs_symlink_inode_operations;
|
||||
extern struct file_operations jfs_dir_operations;
|
||||
extern struct file_operations jfs_file_operations;
|
||||
struct address_space_operations jfs_aops;
|
||||
extern int freeZeroLink(struct inode *);
|
||||
|
||||
void jfs_read_inode(struct inode *inode)
|
||||
{
|
||||
if (diRead(inode)) {
|
||||
@@ -136,7 +129,7 @@ void jfs_delete_inode(struct inode *inode)
|
||||
jfs_info("In jfs_delete_inode, inode = 0x%p", inode);
|
||||
|
||||
if (test_cflag(COMMIT_Freewmap, inode))
|
||||
freeZeroLink(inode);
|
||||
jfs_free_zero_link(inode);
|
||||
|
||||
diFree(inode);
|
||||
|
||||
|
Reference in New Issue
Block a user