diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
commit | e308faf24f68e262d92d294a01ddca7a17e76762 (patch) | |
tree | 22c47cb315811834861f013067878ff664e95abd /fs/minix/truncate.c | |
parent | 30c6397ce63178fcb3e7963ac247f0a03132aca9 (diff) |
Sync with Linux 2.1.46.
Diffstat (limited to 'fs/minix/truncate.c')
-rw-r--r-- | fs/minix/truncate.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/minix/truncate.c b/fs/minix/truncate.c index a6d3d4b5e..298d6c155 100644 --- a/fs/minix/truncate.c +++ b/fs/minix/truncate.c @@ -58,7 +58,7 @@ repeat: continue; } *p = 0; - inode->i_dirt = 1; + mark_inode_dirty(inode); if (bh) { mark_buffer_clean(bh); brelse(bh); @@ -167,7 +167,7 @@ repeat: 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 @@ void V1_minix_truncate(struct inode * inode) schedule(); } inode->i_mtime = inode->i_ctime = CURRENT_TIME; - inode->i_dirt = 1; + mark_inode_dirty(inode); } /* @@ -220,7 +220,7 @@ repeat: continue; } *p = 0; - inode->i_dirt = 1; + mark_inode_dirty(inode); if (bh) { mark_buffer_clean(bh); brelse(bh); @@ -329,7 +329,7 @@ repeat: 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 @@ repeat: 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 @@ static void V2_minix_truncate(struct inode * inode) schedule(); } inode->i_mtime = inode->i_ctime = CURRENT_TIME; - inode->i_dirt = 1; + mark_inode_dirty(inode); } /* |