diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-03-18 14:12:03 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-24 00:18:50 -0700 |
commit | 191ab5693d3c9a0cdedc66bb24dd5efa535963d9 (patch) | |
tree | 5e0e0544abfe5c6ed4a2c672626f41b4cfd13d93 /xlators/features/changelog/lib/src/gf-changelog.c | |
parent | 432355c9c6ca5937745f5d2b87ba391ad4877c92 (diff) |
features/trash: Handling hardlinks in trash translator
In the current code of trash translator, file is moved to
trash directory without checking whether it is the last
hardlink.This may lead to inconsistency for a file in that
gluster volume.To avoid those scenarios,so a file is moved
to trash directory only if it is the last hardlink.
Change-Id: Id098e53a2236c6406ef91e6e2599ea2cff9bace3
BUG: 1132465
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/9926
Reviewed-by: Anoop C S <achiraya@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/changelog/lib/src/gf-changelog.c')
0 files changed, 0 insertions, 0 deletions