Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32212
b: refs/heads/master
c: 73ce593
h: refs/heads/master
v: v3
  • Loading branch information
Hisashi Hifumi authored and Linus Torvalds committed Jul 10, 2006
1 parent ee13d1f commit 8039552
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0808925ea5684a0ce25483b30e94d4f398804978
refs/heads/master: 73ce5934e2d855db436566297f12966eb507a435
6 changes: 5 additions & 1 deletion trunk/fs/reiserfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,12 @@ static int reiserfs_submit_file_region_for_write(struct reiserfs_transaction_han
// this sets the proper flags for O_SYNC to trigger a commit
mark_inode_dirty(inode);
reiserfs_write_unlock(inode->i_sb);
} else
} else {
reiserfs_write_lock(inode->i_sb);
reiserfs_update_inode_transaction(inode);
mark_inode_dirty(inode);
reiserfs_write_unlock(inode->i_sb);
}

sd_update = 1;
}
Expand Down

0 comments on commit 8039552

Please sign in to comment.