--- linux/fs/reiserfs/inode.c.orig Tue Feb 12 17:50:27 2002 +++ linux/fs/reiserfs/inode.c Tue Feb 12 17:51:18 2002 @@ -914,7 +914,7 @@ inode->i_blocks = sd_v1_blocks(sd); inode->i_generation = le32_to_cpu (INODE_PKEY (inode)->k_dir_id); blocks = (inode->i_size + 511) >> 9; - blocks = _ROUND_UP (blocks, inode->i_blksize >> 9); + blocks = _ROUND_UP (blocks, inode->i_sb->s_blocksize >> 9); if (inode->i_blocks > blocks) { // there was a bug in <=3.5.23 when i_blocks could take negative // values. Starting from 3.5.17 this value could even be stored in .