use new iattr interface
[util-vserver.git] / util-vserver / lib / syscall_getiattr-v13.hc
index 4e792be..490804e 100644 (file)
@@ -32,7 +32,7 @@ vc_get_iattr_v13(dev_t dev, ino_t ino,
   attr.ino = ino;
   
   rc = vserver(VCMD_get_iattr, dev, &attr);
-  if (xid)   *xid   = attr.xid;
+  if (xid)   *xid   = CTX_KERNEL2USER(attr.xid);
   if (flags) *flags = attr.flags;
   if (mask)  *mask  = attr.mask;