[pnfs] [PATCH 10/37] pnfs: make pnfs_{read,write}pages static
Benny Halevy
bhalevy at panasas.com
Tue Jan 1 05:50:01 EST 2008
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfs/pnfs.c | 4 ++--
fs/nfs/pnfs.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index bec43e1..5bfb0f5 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -859,7 +859,7 @@ pnfs_writeback_done(struct nfs_write_data *data, ssize_t status)
* in data->res.verf->committed. Do we need this ability
* for non-file layout drivers?
*/
-int
+static int
pnfs_writepages(struct nfs_write_data *wdata, int how)
{
struct nfs_writeargs *args = &wdata->args;
@@ -963,7 +963,7 @@ pnfs_read_done(struct nfs_read_data *data, ssize_t status, int eof)
* If no I/O device driver exists, or one does match the returned
* fstype, then return a positive status for regular NFS processing.
*/
-int
+static int
pnfs_readpages(struct nfs_read_data *rdata)
{
struct nfs_readargs *args = &rdata->args;
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 05a97d6..a562d12 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -26,9 +26,7 @@ int pnfs_use_read(struct inode *inode, ssize_t count);
int pnfs_use_ds_io(struct list_head *, struct inode *, int);
int pnfs_use_write(struct inode *inode, ssize_t count);
-int pnfs_writepages(struct nfs_write_data *wdata, int how);
int pnfs_try_to_write_data(struct nfs_write_data *, const struct rpc_call_ops *, int);
-int pnfs_readpages(struct nfs_read_data *rdata);
int pnfs_try_to_read_data(struct nfs_read_data *data, const struct rpc_call_ops *call_ops);
int pnfs_initialize(void);
void pnfs_uninitialize(void);
--
1.5.3.3
More information about the pNFS
mailing list