diff options
author | Carl Spalletta <cspalletta@yahoo.com> | 2004-08-22 22:47:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:47:41 -0700 |
commit | 49950d2a917bd51af0fdf1e06947c58f41cf1c0e (patch) | |
tree | 247cea1d6d9662ada82d6855dc13a761fa990792 /fs | |
parent | cae7c30af0190d6af4829a4e5a95fa43b5f01413 (diff) | |
download | history-49950d2a917bd51af0fdf1e06947c58f41cf1c0e.tar.gz |
[PATCH] remove dead prototypes
Remove a whole bunch of prototypes which declare no-longer-present functions.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/adfs/adfs.h | 1 | ||||
-rw-r--r-- | fs/autofs4/autofs_i.h | 1 | ||||
-rw-r--r-- | fs/befs/befs.h | 1 | ||||
-rw-r--r-- | fs/hfs/hfs_fs.h | 3 | ||||
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 1 | ||||
-rw-r--r-- | fs/jfs/jfs_txnmgr.c | 1 | ||||
-rw-r--r-- | fs/proc/base.c | 1 | ||||
-rw-r--r-- | fs/udf/udfdecl.h | 2 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_fs_subr.h | 1 | ||||
-rw-r--r-- | fs/xfs/quota/xfs_qm.h | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_acl.h | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_attr_leaf.h | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_bmap_btree.h | 7 | ||||
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 1 |
15 files changed, 0 insertions, 25 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h index 6aed04ea538f5a..f495abc2849d08 100644 --- a/fs/adfs/adfs.h +++ b/fs/adfs/adfs.h @@ -71,7 +71,6 @@ struct adfs_discmap { int adfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh, int create); struct inode *adfs_iget(struct super_block *sb, struct object_info *obj); -void adfs_read_inode(struct inode *inode); void adfs_write_inode(struct inode *inode,int unused); int adfs_notify_change(struct dentry *dentry, struct iattr *attr); diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 94a12aee26e5f4..f5a52c87172621 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -138,7 +138,6 @@ static inline void autofs4_copy_atime(struct file *src, struct file *dst) } struct inode *autofs4_get_inode(struct super_block *, struct autofs_info *); -struct autofs_info *autofs4_init_inf(struct autofs_sb_info *, mode_t mode); void autofs4_free_ino(struct autofs_info *); /* Expiration */ diff --git a/fs/befs/befs.h b/fs/befs/befs.h index fcb7f47b08adde..057a2c3d73b77d 100644 --- a/fs/befs/befs.h +++ b/fs/befs/befs.h @@ -96,7 +96,6 @@ void befs_dump_super_block(const struct super_block *sb, befs_super_block *); void befs_dump_inode(const struct super_block *sb, befs_inode *); void befs_dump_index_entry(const struct super_block *sb, befs_btree_super *); void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *); -void befs_dump_inode_addr(const struct super_block *sb, befs_inode_addr); /****************************/ diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index 33876db2230ead..ba764a1eb444ac 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h @@ -223,9 +223,6 @@ extern int hfs_strcmp(const unsigned char *, unsigned int, const unsigned char *, unsigned int); extern int hfs_compare_dentry(struct dentry *, struct qstr *, struct qstr *); -/* super.c */ -extern struct super_block *hfs_read_super(struct super_block *,void *,int); - /* trans.c */ extern void hfs_triv2mac(struct hfs_name *, struct qstr *); extern int hfs_mac2triv(char *, const struct hfs_name *); diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index 2e172a80fc5a4d..9d35b9fbc2a6eb 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h @@ -344,7 +344,6 @@ int hfsplus_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, /* options.c */ int parse_options(char *, struct hfsplus_sb_info *); void fill_defaults(struct hfsplus_sb_info *); -void fill_current(struct hfsplus_sb_info *, struct hfsplus_sb_info *); /* tables.c */ extern u16 case_fold_table[]; diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index f4bd79b705f6ff..db99cf6f974ddf 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -165,7 +165,6 @@ struct { * external references */ extern int lmGroupCommit(struct jfs_log *, struct tblock *); -extern void lmSync(struct jfs_log *); extern int jfs_commit_inode(struct inode *, int); extern int jfs_stop_threads; diff --git a/fs/proc/base.c b/fs/proc/base.c index 9e3a70ea23f919..3d2f5e8fbc58a3 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -180,7 +180,6 @@ static inline int proc_type(struct inode *inode) int proc_pid_stat(struct task_struct*,char*); int proc_pid_status(struct task_struct*,char*); int proc_pid_statm(struct task_struct*,char*); -int proc_pid_cpu(struct task_struct*,char*); static int proc_fd_link(struct inode *inode, struct dentry **dentry, struct vfsmount **mnt) { diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index ecff2e19f397f5..3a8291a7b38389 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h @@ -111,7 +111,6 @@ extern int8_t udf_next_aext(struct inode *, lb_addr *, int *, lb_addr *, uint32_ extern int8_t udf_current_aext(struct inode *, lb_addr *, int *, lb_addr *, uint32_t *, struct buffer_head **, int); /* misc.c */ -extern int udf_read_tagged_data(char *, int size, int fd, int block, int partref); extern struct buffer_head *udf_tgetblk(struct super_block *, int); extern struct buffer_head *udf_tread(struct super_block *, int); extern struct genericFormat *udf_add_extendedattr(struct inode *, uint32_t, uint32_t, uint8_t); @@ -163,7 +162,6 @@ extern struct fileIdentDesc * udf_get_fileident(void * buffer, int bufsize, int extern extent_ad * udf_get_fileextent(void * buffer, int bufsize, int * offset); extern long_ad * udf_get_filelongad(uint8_t *, int, int *, int); extern short_ad * udf_get_fileshortad(uint8_t *, int, int *, int); -extern uint8_t * udf_get_filead(struct fileEntry *, uint8_t *, int, int, int, int *); /* crc.c */ extern uint16_t udf_crc(uint8_t *, uint32_t, uint16_t); diff --git a/fs/xfs/linux-2.6/xfs_fs_subr.h b/fs/xfs/linux-2.6/xfs_fs_subr.h index 198b8dd7818d95..2db9ddbd456754 100644 --- a/fs/xfs/linux-2.6/xfs_fs_subr.h +++ b/fs/xfs/linux-2.6/xfs_fs_subr.h @@ -40,7 +40,6 @@ struct cred; extern int fs_noerr(void); extern int fs_nosys(void); -extern int fs_nodev(void); extern void fs_noval(void); extern void fs_tosspages(bhv_desc_t *, xfs_off_t, xfs_off_t, int); extern void fs_flushinval_pages(bhv_desc_t *, xfs_off_t, xfs_off_t, int); diff --git a/fs/xfs/quota/xfs_qm.h b/fs/xfs/quota/xfs_qm.h index 4924a1116fa935..d80839d2b347d7 100644 --- a/fs/xfs/quota/xfs_qm.h +++ b/fs/xfs/quota/xfs_qm.h @@ -187,7 +187,6 @@ extern int xfs_qm_write_sb_changes(xfs_mount_t *, __int64_t); extern int xfs_qm_sync(xfs_mount_t *, short); /* dquot stuff */ -extern void xfs_qm_dqunlink(xfs_dquot_t *); extern boolean_t xfs_qm_dqalloc_incore(xfs_dquot_t **); extern int xfs_qm_dqattach(xfs_inode_t *, uint); extern void xfs_qm_dqdetach(xfs_inode_t *); diff --git a/fs/xfs/xfs_acl.h b/fs/xfs/xfs_acl.h index 90a8a5e196ca9c..0363eb46d35720 100644 --- a/fs/xfs/xfs_acl.h +++ b/fs/xfs/xfs_acl.h @@ -74,8 +74,6 @@ extern struct kmem_zone *xfs_acl_zone; extern int xfs_acl_inherit(struct vnode *, struct vattr *, xfs_acl_t *); extern int xfs_acl_iaccess(struct xfs_inode *, mode_t, cred_t *); -extern int xfs_acl_get(struct vnode *, xfs_acl_t *, xfs_acl_t *); -extern int xfs_acl_set(struct vnode *, xfs_acl_t *, xfs_acl_t *); extern int xfs_acl_vtoacl(struct vnode *, xfs_acl_t *, xfs_acl_t *); extern int xfs_acl_vhasacl_access(struct vnode *); extern int xfs_acl_vhasacl_default(struct vnode *); diff --git a/fs/xfs/xfs_attr_leaf.h b/fs/xfs/xfs_attr_leaf.h index 97bac75c6064a0..b1480e0b334922 100644 --- a/fs/xfs/xfs_attr_leaf.h +++ b/fs/xfs/xfs_attr_leaf.h @@ -246,7 +246,6 @@ int xfs_attr_shortform_getvalue(struct xfs_da_args *args); int xfs_attr_shortform_to_leaf(struct xfs_da_args *args); int xfs_attr_shortform_remove(struct xfs_da_args *remove); int xfs_attr_shortform_list(struct xfs_attr_list_context *context); -int xfs_attr_shortform_replace(struct xfs_da_args *args); int xfs_attr_shortform_allfit(struct xfs_dabuf *bp, struct xfs_inode *dp); /* diff --git a/fs/xfs/xfs_bmap_btree.h b/fs/xfs/xfs_bmap_btree.h index a4a666a7c3a0f9..1c0904d0857bf1 100644 --- a/fs/xfs/xfs_bmap_btree.h +++ b/fs/xfs/xfs_bmap_btree.h @@ -551,13 +551,6 @@ xfs_bmbt_insert( struct xfs_btree_cur *, int *); -int -xfs_bmbt_insert_many( - struct xfs_btree_cur *, - int, - xfs_bmbt_rec_t *, - int *); - void xfs_bmbt_log_block( struct xfs_btree_cur *, diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index f606073adf6bf5..dc32e4aa8e536a 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -508,7 +508,6 @@ void xfs_xlate_dinode_core(xfs_caddr_t, struct xfs_dinode_core *, uint xfs_dic2xflags(struct xfs_dinode_core *, xfs_arch_t); int xfs_ifree(struct xfs_trans *, xfs_inode_t *, struct xfs_bmap_free *); -int xfs_atruncate_start(xfs_inode_t *); void xfs_itruncate_start(xfs_inode_t *, uint, xfs_fsize_t); int xfs_itruncate_finish(struct xfs_trans **, xfs_inode_t *, xfs_fsize_t, int, int); diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index 052de386e9c12b..7d91f70bd7af05 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -543,7 +543,6 @@ extern int xlog_find_tail(xlog_t *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk, int readonly); -extern int xlog_print_find_oldest(xlog_t *log, xfs_daddr_t *last_blk); extern int xlog_recover(xlog_t *log, int readonly); extern int xlog_recover_finish(xlog_t *log, int mfsi_flags); extern void xlog_pack_data(xlog_t *log, xlog_in_core_t *iclog); |