Whamcloud - gitweb
fix typo which added with 2.6.22 support.
authorshadow <shadow>
Mon, 19 May 2008 16:21:38 +0000 (16:21 +0000)
committershadow <shadow>
Mon, 19 May 2008 16:21:38 +0000 (16:21 +0000)
lustre/obdclass/linux/linux-obdo.c

index b66062d..d87dd09 100644 (file)
@@ -185,7 +185,7 @@ void obdo_refresh_inode(struct inode *dst, struct obdo *src, obd_flag valid)
         if (valid & OBD_MD_FLBLKSZ && src->o_blksize > (1 << dst->i_blkbits)) {
                 dst->i_blkbits = ffs(src->o_blksize) - 1;
 #ifdef HAVE_INODE_BLKSIZE
-                dst->i_blkbits = src->o_blksize;
+                dst->i_blksize = src->o_blksize;
 #endif
         }