NFS: make 2 functions static

nfs_writedata_free() and nfs_readdata_free() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 5e1ce40f0c3c8f67591aff17756930d7a18ceb1a commit)

authored by Adrian Bunk and committed by Trond Myklebust e4e20512 ce510193

+4 -6
+1 -1
fs/nfs/read.c
··· 63 63 return p; 64 64 } 65 65 66 - void nfs_readdata_free(struct nfs_read_data *p) 66 + static void nfs_readdata_free(struct nfs_read_data *p) 67 67 { 68 68 if (p && (p->pagevec != &p->page_array[0])) 69 69 kfree(p->pagevec);
+1 -1
fs/nfs/write.c
··· 137 137 return p; 138 138 } 139 139 140 - void nfs_writedata_free(struct nfs_write_data *p) 140 + static void nfs_writedata_free(struct nfs_write_data *p) 141 141 { 142 142 if (p && (p->pagevec != &p->page_array[0])) 143 143 kfree(p->pagevec);
+2 -4
include/linux/nfs_fs.h
··· 476 476 } 477 477 478 478 /* 479 - * Allocate and free nfs_write_data structures 479 + * Allocate nfs_write_data structures 480 480 */ 481 481 extern struct nfs_write_data *nfs_writedata_alloc(unsigned int pagecount); 482 - extern void nfs_writedata_free(struct nfs_write_data *p); 483 482 484 483 /* 485 484 * linux/fs/nfs/read.c ··· 490 491 extern void nfs_readdata_release(void *data); 491 492 492 493 /* 493 - * Allocate and free nfs_read_data structures 494 + * Allocate nfs_read_data structures 494 495 */ 495 496 extern struct nfs_read_data *nfs_readdata_alloc(unsigned int pagecount); 496 - extern void nfs_readdata_free(struct nfs_read_data *p); 497 497 498 498 /* 499 499 * linux/fs/nfs3proc.c