The patch titled fs/ufs/inode.c: make 2 functions static has been added to the -mm tree. Its filename is fs-ufs-inodec-make-2-functions-static.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fs/ufs/inode.c: make 2 functions static From: Adrian Bunk <bunk@xxxxxxxxx> Make two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ufs/inode.c | 9 ++++++--- include/linux/ufs_fs.h | 2 -- 2 files changed, 6 insertions(+), 5 deletions(-) diff -puN fs/ufs/inode.c~fs-ufs-inodec-make-2-functions-static fs/ufs/inode.c --- a/fs/ufs/inode.c~fs-ufs-inodec-make-2-functions-static +++ a/fs/ufs/inode.c @@ -41,6 +41,8 @@ #include "swab.h" #include "util.h" +static u64 ufs_frag_map(struct inode *inode, sector_t frag); + static int ufs_block_to_path(struct inode *inode, sector_t i_block, sector_t offsets[4]) { struct ufs_sb_private_info *uspi = UFS_SB(inode->i_sb)->s_uspi; @@ -80,7 +82,7 @@ static int ufs_block_to_path(struct inod * the begining of the filesystem. */ -u64 ufs_frag_map(struct inode *inode, sector_t frag) +static u64 ufs_frag_map(struct inode *inode, sector_t frag) { struct ufs_inode_info *ufsi = UFS_I(inode); struct super_block *sb = inode->i_sb; @@ -514,8 +516,9 @@ abort_too_big: goto abort; } -struct buffer_head *ufs_getfrag(struct inode *inode, unsigned int fragment, - int create, int *err) +static struct buffer_head *ufs_getfrag(struct inode *inode, + unsigned int fragment, + int create, int *err) { struct buffer_head dummy; int error; diff -puN include/linux/ufs_fs.h~fs-ufs-inodec-make-2-functions-static include/linux/ufs_fs.h --- a/include/linux/ufs_fs.h~fs-ufs-inodec-make-2-functions-static +++ a/include/linux/ufs_fs.h @@ -973,13 +973,11 @@ extern void ufs_free_inode (struct inode extern struct inode * ufs_new_inode (struct inode *, int); /* inode.c */ -extern u64 ufs_frag_map (struct inode *, sector_t); extern void ufs_read_inode (struct inode *); extern void ufs_put_inode (struct inode *); extern int ufs_write_inode (struct inode *, int); extern int ufs_sync_inode (struct inode *); extern void ufs_delete_inode (struct inode *); -extern struct buffer_head * ufs_getfrag (struct inode *, unsigned, int, int *); extern struct buffer_head * ufs_bread (struct inode *, unsigned, int, int *); extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create); _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch acpiphp-use-new-dock-driver.patch drivers-acpi-scanc-make-acpi_bus_type-static.patch the-scheduled-unexport-of-insert_resource.patch git-dvb.patch drivers-media-video-vivic-make-2-functions-static.patch drivers-media-video-pwc-make-code-static.patch git-gfs2.patch make-drivers-scsi-pata_pcmciacpcmcia_remove_one-static.patch ni5010-netcard-cleanup-fix.patch git-ocfs2.patch gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch drivers-scsi-aic7xxx-possible-cleanups.patch drivers-scsi-small-cleanups.patch drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch drivers-scsi-qla2xxx-make-some-functions-static.patch drivers-scsi-qla2xxx-make-more-some-functions-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_done_with_status-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch drivers-scsi-aic7xxx-possible-cleanups-2.patch usb-new-driver-for-cypress-cy7c63xxx-mirco-controllers-fix.patch if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch acx1xx-wireless-driver.patch x86_64-unexport-ia32_sys_call_table.patch fs-bufferc-possible-cleanups.patch fs-ufs-inodec-make-2-functions-static.patch drivers-char-applicomc-proper-module_initexit.patch kernel-sysc-cleanups.patch kernel-sysc-cleanups-fix.patch chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix.patch time-i386-clocksource-drivers.patch fs-reiser4-possible-cleanups.patch drivers-ide-legacy-ide-csc-make-2-functions-static.patch fbdev-cleanup-the-config_video_select-mess.patch fbdev-remove-duplicate-includes.patch fbdev-remove-unused-exports.patch md-make-md_print_devices-static.patch drivers-md-mdc-make-code-static.patch slab-cache-shrinker-statistics.patch i386-enable-4k-stacks-by-default.patch mutex-subsystem-synchro-test-module.patch drivers-char-ipmi-ipmi_msghandlerc-make-proc_ipmi_root-static.patch drivers-message-i2o-iopc-unexport-i2o_msg_nop.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html