patch-2.4.21 linux-2.4.21/fs/ext2/ialloc.c
Next file: linux-2.4.21/fs/ext2/inode.c
Previous file: linux-2.4.21/fs/ext2/balloc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-06-13 07:51:37.000000000 -0700
- Orig file:
linux-2.4.20/fs/ext2/ialloc.c
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/fs/ext2/ialloc.c linux-2.4.21/fs/ext2/ialloc.c
@@ -390,8 +390,7 @@
if (S_ISLNK(mode))
inode->u.ext2_i.i_flags &= ~(EXT2_IMMUTABLE_FL|EXT2_APPEND_FL);
inode->u.ext2_i.i_block_group = group;
- if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL)
- inode->i_flags |= S_SYNC;
+ ext2_set_inode_flags(inode);
insert_inode_hash(inode);
inode->i_generation = event++;
mark_inode_dirty(inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)