The patch below makes a needlessly global function static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: OGAWA Hirofumi <[EMAIL PROTECTED]> ---
fs/fat/cache.c | 2 +- include/linux/msdos_fs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/fat/cache.c~fat__fat_access fs/fat/cache.c --- linux-2.6.10/fs/fat/cache.c~fat__fat_access 2005-01-08 09:08:14.000000000 +0900 +++ linux-2.6.10-hirofumi/fs/fat/cache.c 2005-01-08 09:08:14.000000000 +0900 @@ -203,7 +203,7 @@ void fat_cache_inval_inode(struct inode spin_unlock(&MSDOS_I(inode)->cache_lru_lock); } -int __fat_access(struct super_block *sb, int nr, int new_value) +static int __fat_access(struct super_block *sb, int nr, int new_value) { struct msdos_sb_info *sbi = MSDOS_SB(sb); struct buffer_head *bh, *bh2, *c_bh, *c_bh2; diff -puN include/linux/msdos_fs.h~fat__fat_access include/linux/msdos_fs.h --- linux-2.6.10/include/linux/msdos_fs.h~fat__fat_access 2005-01-08 09:08:14.000000000 +0900 +++ linux-2.6.10-hirofumi/include/linux/msdos_fs.h 2005-01-08 09:08:14.000000000 +0900 @@ -306,7 +306,6 @@ static inline void fatwchar_to16(__u8 *d /* fat/cache.c */ extern int fat_access(struct super_block *sb, int nr, int new_value); -extern int __fat_access(struct super_block *sb, int nr, int new_value); extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys); extern void fat_cache_inval_inode(struct inode *inode); extern int fat_get_cluster(struct inode *inode, int cluster, _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/