diff options
author | shishir <shishirng@gluster.com> | 2011-07-26 12:56:54 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-28 02:59:32 -0700 |
commit | cf4501899ca75a6641a31cf7116d439dfb6dd4de (patch) | |
tree | ce4b00c3719d66165bdc98f6558582485c5bb464 /xlators/nfs/server/src/nfs3-helpers.h | |
parent | fa979753d9fe27c6338a0d384d0f183ea716003d (diff) |
NFS: Implement nfs_forget call
Make sure the inode_ctx is deleted
nfs_release is not needed, as __nfs3_fdcache_remove_entry cleans up
the ctx
Change-Id: I690efa1eb1d4cd39cee258bb29692cc58ab9c380
BUG: 3250
Reviewed-on: http://review.gluster.com/103
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Shehjar Tikoo <shehjart@gluster.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs3-helpers.h')
-rw-r--r-- | xlators/nfs/server/src/nfs3-helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.h b/xlators/nfs/server/src/nfs3-helpers.h index 302d731d1e7..1396a039633 100644 --- a/xlators/nfs/server/src/nfs3-helpers.h +++ b/xlators/nfs/server/src/nfs3-helpers.h @@ -347,4 +347,8 @@ nfs3_is_parentdir_entry (char *entry); uint32_t nfs3_request_to_accessbits (int32_t accbits); + +int +nfs3_flush_inode_queue (struct inode_op_queue *inode_q, fd_t *openedfd, + int32_t call_resume); #endif |