From: huanghua Date: Wed, 16 Aug 2006 03:08:30 +0000 (+0000) Subject: fix the return value defect X-Git-Tag: v1_8_0_110~486^2~1165 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ee8f725de0ec8966726eccb511a64815d0f4bd79;p=fs%2Flustre-release.git fix the return value defect --- diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index 33c4684..6d6fde5 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -653,7 +653,7 @@ int mdd_fix_attr(const struct lu_context *ctxt, struct mdd_object *obj, if (la->la_valid & (LA_UID | LA_GID)) { /* chown */ - rc = -EPERM; +/* rc = -EPERM; */ if (la->la_uid == (uid_t) -1) la->la_uid = tmp_la->la_uid;