From ee8f725de0ec8966726eccb511a64815d0f4bd79 Mon Sep 17 00:00:00 2001 From: huanghua Date: Wed, 16 Aug 2006 03:08:30 +0000 Subject: [PATCH] fix the return value defect --- lustre/mdd/mdd_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1