From: phil Date: Thu, 14 Aug 2003 05:01:11 +0000 (+0000) Subject: merge three weeks of b_devel fixes into b_filterio X-Git-Tag: v1_7_110~2^11~79 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=28a69119562a3247cc7c4cf3c2d70a81e0e7c67f;p=fs%2Flustre-release.git merge three weeks of b_devel fixes into b_filterio --- diff --git a/lustre/obdclass/obdo.c b/lustre/obdclass/obdo.c index f1d1b27..3df3cf0 100644 --- a/lustre/obdclass/obdo.c +++ b/lustre/obdclass/obdo.c @@ -210,7 +210,7 @@ void obdo_refresh_inode(struct inode *dst, struct obdo *src, obd_flag valid) if (valid & OBD_MD_FLSIZE && src->o_size > dst->i_size) dst->i_size = src->o_size; /* optimum IO size */ - if (valid & OBD_MD_FLBLKSZ) + if (valid & OBD_MD_FLBLKSZ && src->o_blksize > dst->i_blksize) dst->i_blksize = src->o_blksize; /* allocation of space */ if (valid & OBD_MD_FLBLOCKS && src->o_blocks > dst->i_blocks)