diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-15 16:56:39 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 16:53:05 -0400 |
commit | c9d8f89d9816c1d16ada492aa547a4d692508c0d (patch) | |
tree | d85339019cff084c11d4fceaf194fc5e34588d61 /include/linux/nfs_fs.h | |
parent | fdd1e74c89fe39259a29c494209abad63ff76f82 (diff) |
NFS: Ensure that the write code cleans up properly when rpc_run_task() fails
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index f4a0e4c218df..7f0602c87712 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -466,9 +466,9 @@ extern int nfs_wb_page(struct inode *inode, struct page* page); | |||
466 | extern int nfs_wb_page_cancel(struct inode *inode, struct page* page); | 466 | extern int nfs_wb_page_cancel(struct inode *inode, struct page* page); |
467 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | 467 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) |
468 | extern int nfs_commit_inode(struct inode *, int); | 468 | extern int nfs_commit_inode(struct inode *, int); |
469 | extern struct nfs_write_data *nfs_commit_alloc(void); | 469 | extern struct nfs_write_data *nfs_commitdata_alloc(void); |
470 | extern void nfs_commit_free(struct nfs_write_data *wdata); | 470 | extern void nfs_commit_free(struct nfs_write_data *wdata); |
471 | extern void nfs_commit_release(void *wdata); | 471 | extern void nfs_commitdata_release(void *wdata); |
472 | #else | 472 | #else |
473 | static inline int | 473 | static inline int |
474 | nfs_commit_inode(struct inode *inode, int how) | 474 | nfs_commit_inode(struct inode *inode, int how) |