X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Fosc_request.c;h=cf3136ecea9838d0d602b2ebfe79ec85c2ab8641;hp=a33641dd8a875226b4aac8fa4f806334342d1412;hb=4c4c327b25f3414f20a9ae600e7311f1aa3a866d;hpb=117f587bc3e60f4dd1c939f8488e43cb752c12ca diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index a33641d..cf3136e 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2214,7 +2214,7 @@ int osc_build_rpc(const struct lu_env *env, struct client_obd *cli, mem_tight |= ext->oe_memalloc; grant += ext->oe_grants; page_count += ext->oe_nr_pages; - layout_version = MAX(layout_version, ext->oe_layout_version); + layout_version = max(layout_version, ext->oe_layout_version); if (obj == NULL) obj = ext->oe_obj; }