patch-2.1.45 linux/fs/minix/truncate.c
Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/minix/symlink.c
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Wed Jul 16 08:05:24 1997
- Orig file:
v2.1.44/linux/fs/minix/truncate.c
- Orig date:
Mon Apr 22 01:47:49 1996
diff -u --recursive --new-file v2.1.44/linux/fs/minix/truncate.c linux/fs/minix/truncate.c
@@ -58,7 +58,7 @@
continue;
}
*p = 0;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
if (bh) {
mark_buffer_clean(bh);
brelse(bh);
@@ -167,7 +167,7 @@
else {
tmp = *p;
*p = 0;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
minix_free_block(inode->i_sb,tmp);
}
brelse(dind_bh);
@@ -191,7 +191,7 @@
schedule();
}
inode->i_mtime = inode->i_ctime = CURRENT_TIME;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
}
/*
@@ -220,7 +220,7 @@
continue;
}
*p = 0;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
if (bh) {
mark_buffer_clean(bh);
brelse(bh);
@@ -329,7 +329,7 @@
else {
tmp = *p;
*p = 0;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
minix_free_block(inode->i_sb,tmp);
}
brelse(dind_bh);
@@ -374,7 +374,7 @@
else {
tmp = *p;
*p = 0;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
minix_free_block(inode->i_sb,tmp);
}
brelse(tind_bh);
@@ -402,7 +402,7 @@
schedule();
}
inode->i_mtime = inode->i_ctime = CURRENT_TIME;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov