diff options
author | Raghavendra G <raghavendra@gluster.com> | 2013-05-18 11:52:09 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-08 11:26:42 -0800 |
commit | 66113e3473555c31926045218dc8b79c61751d5d (patch) | |
tree | 88e0efe643ab06232fea70dbcd9fd4101e4adf3f /tests | |
parent | 104e8df41073036eb47583503035bad298bdbe87 (diff) |
features/marker-quota: more stringent error handling in rename.
If an error occurs and op_errno is not set to non-zero value, we can
end up in loosing a frame resulting in a hung syscall. This patch
adds code setting op_errno appropriately in storage/posix and
makes marker to set err to a default non-zero value in case of
op_errno being zero.
Change-Id: Idc2c3e843b932709a69b32ba67deb284547168f2
BUG: 833586
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Reviewed-on: http://review.gluster.org/5032
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions