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

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)