diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2012-08-09 13:23:48 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-08-11 23:26:12 -0700 |
commit | eabf3911675562a920040d0fe1a783ece1beb341 (patch) | |
tree | 65ec43d8753b26db199474ad68073561e988f9ef /swift | |
parent | e42faa7488b41513750ad37837ac52a68f639775 (diff) |
performance/write-behind: store the wb_inode in local before winding
* Store the write-behind's inode context in the local structure before
winding the call so that in callback inode context is found.
* Before returning EBADFD check if the inode context (wb_inode) is NULL,
along with the inode type.
Change-Id: If5a1c667efe6882a6efef1439cee3effc32ff9a7
BUG: 846536
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.com/3796
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'swift')
0 files changed, 0 insertions, 0 deletions