X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Flu_object.c;h=7ebe04e762291da57404e29370b89b5b7f23cfb9;hb=4c4c327b25f3414f20a9ae600e7311f1aa3a866d;hp=9f9718089d5961ef0327df6232315d6c6f5a6537;hpb=117f587bc3e60f4dd1c939f8488e43cb752c12ca;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index 9f97180..7ebe04e 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -738,7 +738,8 @@ static void lu_object_limit(const struct lu_env *env, return; lu_site_purge_objects(env, dev->ld_site, - MIN(size - nr, LU_CACHE_NR_MAX_ADJUST), 0); + min_t(__u64, size - nr, LU_CACHE_NR_MAX_ADJUST), + 0); } /**