Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33170
b: refs/heads/master
c: e4e2051
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Trond Myklebust committed Aug 3, 2006
1 parent 8272f24 commit 800cb4d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce510193272c295b891e45525a83b543ae3207c1
refs/heads/master: e4e20512cfe0bacec0764b4925889d1fa94644f9
2 changes: 1 addition & 1 deletion trunk/fs/nfs/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct nfs_write_data *nfs_writedata_alloc(unsigned int pagecount)
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);
Expand Down
6 changes: 2 additions & 4 deletions trunk/include/linux/nfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,9 @@ static inline int nfs_wb_page(struct inode *inode, struct page* page)
}

/*
* 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
Expand All @@ -491,10 +490,9 @@ extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *);
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
Expand Down

0 comments on commit 800cb4d

Please sign in to comment.