Whamcloud - gitweb
fix the return value defect
authorhuanghua <huanghua>
Wed, 16 Aug 2006 03:08:30 +0000 (03:08 +0000)
committerhuanghua <huanghua>
Wed, 16 Aug 2006 03:08:30 +0000 (03:08 +0000)
lustre/mdd/mdd_handler.c

index 33c4684..6d6fde5 100644 (file)
@@ -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;