Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d769243
)
merge three weeks of b_devel fixes into b_filterio
author
phil
<phil>
Thu, 14 Aug 2003 05:01:11 +0000
(
05:01
+0000)
committer
phil
<phil>
Thu, 14 Aug 2003 05:01:11 +0000
(
05:01
+0000)
lustre/obdclass/obdo.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obdo.c
b/lustre/obdclass/obdo.c
index
f1d1b27
..
3df3cf0
100644
(file)
--- 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)