Commit e4e20512cfe0bacec0764b4925889d1fa94644f9
Committed by
Trond Myklebust
1 parent
ce51019327
Exists in
master
and in
7 other branches
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)
Showing 3 changed files with 4 additions and 6 deletions Side-by-side Diff
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_fs.h
... | ... | @@ -476,10 +476,9 @@ |
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 |
486 | 485 | |
... | ... | @@ -491,10 +490,9 @@ |
491 | 490 | extern void nfs_readdata_release(void *data); |
492 | 491 | |
493 | 492 | /* |
494 | - * Allocate and free nfs_read_data structures | |
493 | + * Allocate nfs_read_data structures | |
495 | 494 | */ |
496 | 495 | extern struct nfs_read_data *nfs_readdata_alloc(unsigned int pagecount); |
497 | -extern void nfs_readdata_free(struct nfs_read_data *p); | |
498 | 496 | |
499 | 497 | /* |
500 | 498 | * linux/fs/nfs3proc.c |