diff options
author | Vikas Gorur <vikas@gluster.com> | 2010-02-01 07:31:40 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-02-02 04:51:52 -0800 |
commit | 4f736b6eb9d761287b6bf4ecfc19974a43a8644f (patch) | |
tree | 0b9a0cfb08e5cf0c0e2d37bd17a1fa28a551c3ca /xlators/cluster/stripe | |
parent | 8bcc534da4b2b29709a80327687085876b02ff5a (diff) |
cluster/dht: Remove linkfile before unlinking the datafile.
dht_unlink: If a linkfile exists, remove it first before attempting
to remove the datafile. This eliminates the case where dht would
end up with the linkfile intact and the datafile gone, and the user
not being able to remove the linkfile.
Thanks to He Xiaobin <allreol@gmail.com> for debugging this
issue.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 188 ([ glusterfs 2.0.6rc2 ] - "Directory not empty" on rm -rf)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=188
Diffstat (limited to 'xlators/cluster/stripe')
0 files changed, 0 insertions, 0 deletions