Hi,

I add some private function in dht_create() as bellow.

When current pwd is not "/",everything is ok,otherwise,syncop_getxattr 
will be blocked(In target subvol,"server3_3_getxatt" did not run  ).

 
        dict_t *xattr = NULL; 
        loc_t loc = {0, };
        memset (loc.gfid, 0, 16);
        loc.gfid[15] = 1;
        ret = syncop_getxattr (subvol, &loc, 
&xattr,GF_XATTR_PATHINFO_KEY);

Best regards!
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and 
any attachment transmitted herewith) is privileged and confidential and is 
intended for the exclusive use of the addressee(s).  If you are not an intended 
recipient, any disclosure, reproduction, distribution or other dissemination or 
use of the information contained is strictly prohibited.  If you have received 
this mail in error, please delete it and notify us immediately.
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to