Initialize the blocksize for stat() for non-regular files.
b=6062
- rmmod NALs that might be loaded because of /etc/modules.conf (6133)
- support for mountfsoptions and clientoptions to the Lustre LDAP (5873)
- improved "lustre status" script
-
+ - initialize blocksize for non-regular files (6062)
+
2005-03-22 Cluster File Systems, Inc. <info@clusterfs.com>
* version 1.4.1
* bug fixes
inode->i_blksize = min(lsm->lsm_xfersize, LL_MAX_BLKSIZE);
if (lli->lli_smd != lsm)
obd_free_memmd(ll_i2obdexp(inode), &lsm);
+ } else {
+ inode->i_blksize = max(inode->i_blksize,
+ inode->i_sb->s_blocksize);
}
if (body->valid & OBD_MD_FLID)