summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2010-02-01 07:31:40 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-02 04:51:52 -0800
commit4f736b6eb9d761287b6bf4ecfc19974a43a8644f (patch)
tree0b9a0cfb08e5cf0c0e2d37bd17a1fa28a551c3ca /libglusterfs
parent8bcc534da4b2b29709a80327687085876b02ff5a (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 'libglusterfs')
0 files changed, 0 insertions, 0 deletions