summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorRajesh Amaravathi <rajesh@gluster.com>2011-11-23 12:52:04 +0530
committerVijay Bellur <vijay@gluster.com>2011-12-28 03:17:13 -0800
commite1f6ebc1a41d1759c2c4ec1d81a9b8a777b7a25d (patch)
treea498192949f08d6d19290b12cd9104a44a885877 /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parent8be9b0502843b755adad7badfc4e144cf7c410f6 (diff)
rebalance: remove the *.fix.layout xattr from trusted domain.
moving trusted.distribute.fix.layout from trusted domain. Change-Id: If4317e4320998bbd739a8472b8814d75c425d341 BUG: 765487 Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com> Reviewed-on: http://review.gluster.com/747 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 08865f38f18..a7bac2450d9 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -235,7 +235,7 @@ gf_glusterd_rebalance_fix_layout (glusterd_volinfo_t *volinfo, const char *dir)
if (S_ISDIR (stbuf.st_mode)) {
/* Fix the layout of the directory */
/* TODO: isn't error code not important ? */
- sys_lsetxattr (full_path, "trusted.distribute.fix.layout",
+ sys_lsetxattr (full_path, "distribute.fix.layout",
"yes", 3, 0);
volinfo->defrag->total_files += 1;
@@ -285,7 +285,7 @@ glusterd_defrag_start (void *data)
}
/* Fix the root ('/') first */
- sys_lsetxattr (defrag->mount, "trusted.distribute.fix.layout",
+ sys_lsetxattr (defrag->mount, "distribute.fix.layout",
"yes", 3, 0);
if ((defrag->cmd == GF_DEFRAG_CMD_START) ||