From 28a69119562a3247cc7c4cf3c2d70a81e0e7c67f Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 14 Aug 2003 05:01:11 +0000 Subject: [PATCH] merge three weeks of b_devel fixes into b_filterio --- lustre/obdclass/obdo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.8.3.1