diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 625ffea98561..02f38189d180 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -428,11 +428,6 @@ extern int nfs_updatepage(struct file *, struct page *, unsigned int, unsigned | |||
428 | extern int nfs_writeback_done(struct rpc_task *, struct nfs_write_data *); | 428 | extern int nfs_writeback_done(struct rpc_task *, struct nfs_write_data *); |
429 | extern void nfs_writedata_release(void *); | 429 | extern void nfs_writedata_release(void *); |
430 | 430 | ||
431 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | ||
432 | struct nfs_write_data *nfs_commit_alloc(void); | ||
433 | void nfs_commit_free(struct nfs_write_data *p); | ||
434 | #endif | ||
435 | |||
436 | /* | 431 | /* |
437 | * Try to write back everything synchronously (but check the | 432 | * Try to write back everything synchronously (but check the |
438 | * return value!) | 433 | * return value!) |
@@ -440,6 +435,8 @@ void nfs_commit_free(struct nfs_write_data *p); | |||
440 | extern int nfs_sync_inode_wait(struct inode *, unsigned long, unsigned int, int); | 435 | extern int nfs_sync_inode_wait(struct inode *, unsigned long, unsigned int, int); |
441 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | 436 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) |
442 | extern int nfs_commit_inode(struct inode *, int); | 437 | extern int nfs_commit_inode(struct inode *, int); |
438 | extern struct nfs_write_data *nfs_commit_alloc(void); | ||
439 | extern void nfs_commit_free(struct nfs_write_data *wdata); | ||
443 | extern void nfs_commit_release(void *wdata); | 440 | extern void nfs_commit_release(void *wdata); |
444 | #else | 441 | #else |
445 | static inline int | 442 | static inline int |