patch-2.4.11-dontuse linux/fs/inode.c
Next file: linux/fs/jffs/Makefile
Previous file: linux/fs/ext2/super.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Sep 28 18:03:48 2001
- Orig file:
v2.4.10/linux/fs/inode.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.10/linux/fs/inode.c linux/fs/inode.c
@@ -816,6 +816,7 @@
list_add(&inode->i_list, &inode_in_use);
inode->i_sb = NULL;
inode->i_dev = 0;
+ inode->i_blkbits = 0;
inode->i_ino = ++last_ino;
inode->i_flags = 0;
atomic_set(&inode->i_count, 1);
@@ -849,6 +850,7 @@
list_add(&inode->i_hash, head);
inode->i_sb = sb;
inode->i_dev = sb->s_dev;
+ inode->i_blkbits = sb->s_blocksize_bits;
inode->i_ino = ino;
inode->i_flags = 0;
atomic_set(&inode->i_count, 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)