In Chinese context,
谷仓 traditionally refers to a granary for storing grain. When translating Western 'barn' (a general farm building for animals and equipment),
谷仓 is commonly used even though
粮仓 (liángcāng) is technically more precise for grain storage.