Revert "fs/buffer.c: do not inline exported function"

This reverts commit 884f8064e64b62d9f975cebb34f6144cd8da2634.