X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdfilter%2Ffilter.c;h=1b13258806aad6ff83b9dd0bc733b4e0c851f4be;hp=42f4736d7569f60717e6ebb0e6ec32443ce6d4e1;hb=350abc09880fc4cc1085f462258bf6e0f7b933f2;hpb=9cfd46fac1d16d15df78b7841008258bd0db147d diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 42f4736..1b13258 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2180,6 +2180,8 @@ int filter_setattr(struct obd_export *exp, struct obdo *oa, struct filter_obd *filter; struct ldlm_resource *res; struct dentry *dentry; + obd_uid uid; + obd_gid gid; int rc; ENTRY; @@ -2188,7 +2190,6 @@ int filter_setattr(struct obd_export *exp, struct obdo *oa, filter = &exp->exp_obd->u.filter; push_ctxt(&saved, &exp->exp_obd->obd_lvfs_ctxt, NULL); - /* make sure that object is allocated. */ dentry = filter_crow_object(exp->exp_obd, oa); if (IS_ERR(dentry)) @@ -2434,7 +2435,6 @@ filter_crow_object(struct obd_device *obd, struct obdo *oa) RETURN(dentry); f_dput(dentry); - CDEBUG(D_INODE, "OSS object "LPU64"/"LPU64 " does not exists - allocate it now\n", oa->o_id, oa->o_gr);