patch-2.4.3 linux/fs/inode.c
Next file: linux/fs/iobuf.c
Previous file: linux/fs/hpfs/super.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Mar 22 11:04:13 2001
- Orig file:
v2.4.2/linux/fs/inode.c
- Orig date:
Wed Feb 21 18:20:39 2001
diff -u --recursive --new-file v2.4.2/linux/fs/inode.c linux/fs/inode.c
@@ -133,7 +133,7 @@
if (sb) {
/* Don't do this for I_DIRTY_PAGES - that doesn't actually dirty the inode itself */
- if (flags & (I_DIRTY | I_DIRTY_SYNC)) {
+ if (flags & (I_DIRTY_SYNC | I_DIRTY_DATASYNC)) {
if (sb->s_op && sb->s_op->dirty_inode)
sb->s_op->dirty_inode(inode);
}
@@ -613,6 +613,7 @@
inode->i_bdev = NULL;
inode->i_data.a_ops = &empty_aops;
inode->i_data.host = inode;
+ inode->i_data.gfp_mask = GFP_HIGHUSER;
inode->i_mapping = &inode->i_data;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)