patch-2.4.18 linux/fs/affs/inode.c
Next file: linux/fs/affs/super.c
Previous file: linux/fs/affs/file.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jan 22 23:28:55 2002
- Orig file:
linux.orig/fs/affs/inode.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/affs/inode.c linux/fs/affs/inode.c
@@ -68,7 +68,7 @@
inode->i_size = 0;
inode->i_nlink = 1;
inode->i_mode = 0;
- memset(AFFS_INODE, 0, sizeof(struct affs_inode_info));
+ memset(AFFS_INODE, 0, sizeof(*AFFS_INODE));
init_MUTEX(&AFFS_INODE->i_link_lock);
init_MUTEX(&AFFS_INODE->i_ext_lock);
AFFS_INODE->i_extcnt = 1;
@@ -318,7 +318,7 @@
inode->i_ino = block;
inode->i_nlink = 1;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
- memset(AFFS_INODE, 0, sizeof(struct affs_inode_info));
+ memset(AFFS_INODE, 0, sizeof(*AFFS_INODE));
AFFS_INODE->i_extcnt = 1;
AFFS_INODE->i_ext_last = ~1;
init_MUTEX(&AFFS_INODE->i_link_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)