X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdt%2Fmdt_io.c;fp=lustre%2Fmdt%2Fmdt_io.c;h=fa72341efb60f8721df95fac59d285da650e835d;hb=f147655c33ea61450105b602c82da900fd1417b5;hp=f766315602ccdbf5cb1158f8b49f1c8fc03c1ba9;hpb=96edf50039c5d629ed0cb428a9ea724d0ff652c0;p=fs%2Flustre-release.git diff --git a/lustre/mdt/mdt_io.c b/lustre/mdt/mdt_io.c index f766315..fa72341 100644 --- a/lustre/mdt/mdt_io.c +++ b/lustre/mdt/mdt_io.c @@ -842,6 +842,9 @@ int mdt_obd_commitrw(const struct lu_env *env, int cmd, struct obd_export *exp, oa->o_flags = OBD_FL_NO_PRJQUOTA; } + if (lnb[0].lnb_flags & OBD_BRW_ROOT_PRJQUOTA) + oa->o_flags |= OBD_FL_ROOT_PRJQUOTA; + if (root_squash) oa->o_flags |= OBD_FL_ROOT_SQUASH;