X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftarget%2Fupdate_recovery.c;h=3ffecba1d2405be9ff78a290d73dbde30848fc6e;hb=b8bddf048483d3ed95201de06f2da0925c82cd54;hp=c4282e9dbbb05338579d2091b6aa6ace38cd2541;hpb=0754bc8f2623bea184111af216f7567608db35b6;p=fs%2Flustre-release.git diff --git a/lustre/target/update_recovery.c b/lustre/target/update_recovery.c index c4282e9..3ffecba1 100644 --- a/lustre/target/update_recovery.c +++ b/lustre/target/update_recovery.c @@ -44,10 +44,13 @@ #define DEBUG_SUBSYSTEM S_CLASS #include -#include +#include #include +#include +#include #include #include + #include "tgt_internal.h" /** @@ -442,7 +445,7 @@ again: * we do not need lock here */ if (replace_record) { /* Replace the update record and master transno */ - OBD_FREE(dtrq->dtrq_lur, dtrq->dtrq_lur_size); + OBD_FREE_LARGE(dtrq->dtrq_lur, dtrq->dtrq_lur_size); dtrq->dtrq_lur = NULL; dtrq->dtrq_lur_size = llog_update_record_size(lur); OBD_ALLOC_LARGE(dtrq->dtrq_lur, dtrq->dtrq_lur_size);