/*
* Subdir count limitation can be broken through.
- */
+ */
if (la->la_nlink >= m->mdd_dt_conf.ddp_max_nlink &&
!S_ISDIR(la->la_mode))
RETURN(-EMLINK);
rc = mdd_la_get(env, pobj, tmp_la, BYPASS_CAPA);
if (rc)
return rc;
-
+
if (!(tmp_la->la_mode & S_ISVTX) ||
(tmp_la->la_uid == uc->mu_fsuid))
return 0;
}
rc = mdd_la_get(env, cobj, tmp_la, BYPASS_CAPA);
- if (rc)
+ if (rc)
return rc;
-
+
if (tmp_la->la_uid == uc->mu_fsuid)
return 0;
-
+
return !mdd_capable(uc, CFS_CAP_FOWNER);
}
if (rc)
GOTO(cleanup, rc);
- /*
+ /*
* For tobj is remote case cmm layer has processed
* and pass NULL tobj to here. So when tobj is NOT NULL,
* it must be local one.
GOTO(cleanup, rc);
}
- /*
+ /*
* For tobj is remote case cmm layer has processed
* and set tobj to NULL then. So when tobj is NOT NULL,
* it must be local one.