patch-1.3.54 linux/fs/ext2/ialloc.c
Next file: linux/fs/ext2/inode.c
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jan 4 14:14:20 1996
- Orig file:
v1.3.53/linux/fs/ext2/ialloc.c
- Orig date:
Mon Dec 11 15:42:04 1995
diff -u --recursive --new-file v1.3.53/linux/fs/ext2/ialloc.c linux/fs/ext2/ialloc.c
@@ -464,7 +464,7 @@
inode->i_gid = current->fsgid;
inode->i_dirt = 1;
inode->i_ino = j;
- inode->i_blksize = sb->s_blocksize;
+ inode->i_blksize = PAGE_SIZE; /* This is the optimal IO size (for stat), not the fs block size */
inode->i_blocks = 0;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this