From 44773417bcaafeb6b7a8c44b5dc22bc7969e3102 Mon Sep 17 00:00:00 2001 From: Pranith K Date: Thu, 3 Feb 2011 21:23:15 +0000 Subject: cluster/dht: Perform self-heal as root Signed-off-by: Pranith Kumar K Signed-off-by: Anand V. Avati BUG: 2370 (cluster/afr: Perform self-heal as root) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2370 --- xlators/cluster/dht/src/dht-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/dht/src/dht-common.c') diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index cca09927c..4b574bb45 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -55,7 +55,7 @@ dht_lookup_selfheal_cbk (call_frame_t *frame, void *cookie, local = frame->local; ret = op_ret; - dht_frame_su_undo (frame); + FRAME_SU_UNDO (frame, dht_local_t); if (ret == 0) { layout = local->selfheal.layout; @@ -196,7 +196,7 @@ unlock: return 0; selfheal: - dht_frame_su_do (frame); + FRAME_SU_DO (frame, dht_local_t); ret = dht_selfheal_directory (frame, dht_lookup_selfheal_cbk, &local->loc, layout); -- cgit