vtruncbuf: improve the check for meta buffer
(cherry picked from commit 2d33ad48bd37f27925e4c46c798f8f2d23a2b501)