diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2016-07-18 11:12:43 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-07-19 06:16:11 -0700 |
commit | d90307c1b0245e0e6a39044a28819cde520a100c (patch) | |
tree | 55aee84e09cdead9026b27fb218ed6ffac6e99ee /xlators/features/bit-rot/src | |
parent | 7bf882ed1757f8b01d18d35ef869ed2cd49f1b2f (diff) |
xlator/trash : append '/' at the end in trash_notify_lookup_cbk
In the notify function in trash xlator, a lookup is performed
to obtain path of old trash directory. The result usually contains
path without '/' at the end. The trash xlator maintains expects
'/' at the end for the values such as 'old trash dir' and
'new trash dir'. Otherwise certian checks in the code will fail.
Change-Id: I89e02e4b249314fb6536297f959865feee182c83
BUG: 1357397
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/14938
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Anoop C S <anoopcs@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src')
0 files changed, 0 insertions, 0 deletions