X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdc%2Fmdc_locks.c;h=c7f5ae962efce27e2a5ca0c295c57b3af366bdd6;hp=0b7a20ffa82e2bf83d82a985fdd855b248e9a2b3;hb=9c7cfa1f02769e0cfc51a03f1adfb14abdcc38cf;hpb=451f99d73128f1c6350c1e1fbb7be7c697f02835 diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 0b7a20f..c7f5ae9 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -738,7 +738,7 @@ static int mdc_enqueue_base(struct obd_export *exp, LASSERT(policy == NULL); saved_flags |= LDLM_FL_HAS_INTENT; - if (it->it_op & (IT_OPEN | IT_UNLINK | IT_GETATTR | IT_READDIR)) + if (it->it_op & (IT_UNLINK | IT_GETATTR | IT_READDIR)) policy = &update_policy; else if (it->it_op & IT_LAYOUT) policy = &layout_policy;