aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:35 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:35 -0500
commite17b1fc4b35399935f00a635206e183d9292fe4f (patch)
tree950fd4a83d7b6ff89286fd89a9871b0da66a4435 /include/linux/nfs_fs.h
parenta37ec012d7fd352648c8455d3396ea24001efcd3 (diff)
NFS: Make nfs_commit_alloc() extern
We need to use nfs_commit_alloc() in fs/nfs/direct.c. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 6c130a6b0f4d..423f202b881c 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -410,6 +410,11 @@ extern int nfs_updatepage(struct file *, struct page *, unsigned int, unsigned
410extern int nfs_writeback_done(struct rpc_task *, struct nfs_write_data *); 410extern int nfs_writeback_done(struct rpc_task *, struct nfs_write_data *);
411extern void nfs_writedata_release(void *); 411extern void nfs_writedata_release(void *);
412 412
413#if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4)
414struct nfs_write_data *nfs_commit_alloc(unsigned int pagecount);
415void nfs_commit_free(struct nfs_write_data *p);
416#endif
417
413/* 418/*
414 * Try to write back everything synchronously (but check the 419 * Try to write back everything synchronously (but check the
415 * return value!) 420 * return value!)