summaryrefslogtreecommitdiff
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-08-03 19:07:47 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-08-03 20:55:41 (GMT)
commite4e20512cfe0bacec0764b4925889d1fa94644f9 (patch)
tree4926bdea3262685fe388d23e0f5bd50e5d9f42c2 /fs/nfs/read.c
parentce510193272c295b891e45525a83b543ae3207c1 (diff)
downloadlinux-e4e20512cfe0bacec0764b4925889d1fa94644f9.tar.xz
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)
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index 52bf634..65c0c5b 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -63,7 +63,7 @@ struct nfs_read_data *nfs_readdata_alloc(unsigned int pagecount)
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);