Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281447
b: refs/heads/master
c: bcdd0c1
h: refs/heads/master
i:
  281445: c36ec0e
  281443: 76e23f3
  281439: c62e999
v: v3
  • Loading branch information
Dan Carpenter authored and Jan Kara committed Nov 22, 2011
1 parent d10dd80 commit 2770359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c111b3f56332a216b18cd57950bdf04ac8f2a98
refs/heads/master: bcdd0c1600903e9222abfcde28947406020ccb5d
4 changes: 4 additions & 0 deletions trunk/fs/ext3/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,12 @@ void ext3_evict_inode (struct inode *inode)
*
* Note that directories do not have this problem because they don't
* use page cache.
*
* The s_journal check handles the case when ext3_get_journal() fails
* and puts the journal inode.
*/
if (inode->i_nlink && ext3_should_journal_data(inode) &&
EXT3_SB(inode->i_sb)->s_journal &&
(S_ISLNK(inode->i_mode) || S_ISREG(inode->i_mode))) {
tid_t commit_tid = atomic_read(&ei->i_datasync_tid);
journal_t *journal = EXT3_SB(inode->i_sb)->s_journal;
Expand Down

0 comments on commit 2770359

Please sign in to comment.