The patch titled fs/nfs/: make 2 functions static has been added to the -mm tree. Its filename is fs-nfs-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/nfs/: make 2 functions static From: Adrian Bunk <bunk@xxxxxxxxx> nfs_writedata_free() and nfs_readdata_free() can now become static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfs/read.c | 2 +- fs/nfs/write.c | 2 +- include/linux/nfs_fs.h | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff -puN fs/nfs/read.c~fs-nfs-make-2-functions-static fs/nfs/read.c --- a/fs/nfs/read.c~fs-nfs-make-2-functions-static +++ a/fs/nfs/read.c @@ -64,7 +64,7 @@ struct nfs_read_data *nfs_readdata_alloc return p; } -void nfs_readdata_free(struct nfs_read_data *p) +static void nfs_readdata_free(struct nfs_read_data *p) { if (p && (p->pagevec != &p->page_array[0])) kfree(p->pagevec); diff -puN fs/nfs/write.c~fs-nfs-make-2-functions-static fs/nfs/write.c --- a/fs/nfs/write.c~fs-nfs-make-2-functions-static +++ a/fs/nfs/write.c @@ -138,7 +138,7 @@ struct nfs_write_data *nfs_writedata_all return p; } -void nfs_writedata_free(struct nfs_write_data *p) +static void nfs_writedata_free(struct nfs_write_data *p) { if (p && (p->pagevec != &p->page_array[0])) kfree(p->pagevec); diff -puN include/linux/nfs_fs.h~fs-nfs-make-2-functions-static include/linux/nfs_fs.h --- a/include/linux/nfs_fs.h~fs-nfs-make-2-functions-static +++ a/include/linux/nfs_fs.h @@ -477,10 +477,9 @@ static inline int nfs_wb_page(struct ino } /* - * Allocate and free nfs_write_data structures + * Allocate nfs_write_data structures */ extern struct nfs_write_data *nfs_writedata_alloc(unsigned int pagecount); -extern void nfs_writedata_free(struct nfs_write_data *p); /* * linux/fs/nfs/read.c @@ -492,10 +491,9 @@ extern int nfs_readpage_result(struct r extern void nfs_readdata_release(void *data); /* - * Allocate and free nfs_read_data structures + * Allocate nfs_read_data structures */ extern struct nfs_read_data *nfs_readdata_alloc(unsigned int pagecount); -extern void nfs_readdata_free(struct nfs_read_data *p); /* * linux/fs/nfs3proc.c _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch git-acpi.patch drivers-acpi-scanc-make-acpi_bus_type-static.patch git-agpgart.patch the-scheduled-unexport-of-insert_resource.patch remove-kernel-power-pmcpm_unregister_all.patch git-gfs2.patch make-variables-static-after-klibc-merge.patch git-libata-all.patch fs-jffs2-make-2-functions-static.patch ni5010-netcard-cleanup-fix.patch drivers-dma-iovlockc-make-num_pages_spanned-static.patch drivers-net-irda-mcs7780c-make-struct-mcs_driver-static.patch fix-the-au1000_fir-dependencies.patch fs-nfs-make-2-functions-static.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 drivers-scsi-arcmsr-cleanups.patch drivers-scsi-advansysc-cleanups.patch make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static.patch drivers-message-fusion-mptsasc-make-2-functions-static.patch if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch acx1xx-wireless-driver.patch fix-the-init_env_arg_limit-dependencies.patch fs-ecryptfs-possible-cleanups.patch ecryptfs-add-a-maintainers-entry.patch make-kernel-sysctlc_proc_do_string-static.patch namespaces-utsname-implement-clone_newuts-flag-tidy.patch task-watchers-register-semundo-task-watcher-cleanup.patch fs-reiser4-possible-cleanups.patch drivers-ide-legacy-ide-csc-make-2-functions-static.patch lockdep-core.patch srcu-add-srcu-operations-to-rcutorture-tidy-2.patch slab-cache-shrinker-statistics.patch i386-enable-4k-stacks-by-default.patch mutex-subsystem-synchro-test-module.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