summaryrefslogtreecommitdiff
path: root/fs/ext3
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-05-03 13:41:39 +0400
committerJan Kara <jack@suse.cz>2013-05-03 13:41:39 +0400
commitfb1c2d8294a60184a151ff12182446d7b930ed95 (patch)
tree4414bcf352831d84ff0ed40f694e96016ffb98cc /fs/ext3
parent35e5cbc0af240778e61113286c019837e06aeec6 (diff)
parent8bb9da943a62f4ffaabba1ad745990260fbb39df (diff)
downloadlinux-fb1c2d8294a60184a151ff12182446d7b930ed95.tar.xz
Merge branch 'for_next' into for_linus
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index d512c4bc4ad7..d706dbfa6220 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -218,7 +218,8 @@ void ext3_evict_inode (struct inode *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))) {
+ (S_ISLNK(inode->i_mode) || S_ISREG(inode->i_mode)) &&
+ inode->i_ino != EXT3_JOURNAL_INO) {
tid_t commit_tid = atomic_read(&ei->i_datasync_tid);
journal_t *journal = EXT3_SB(inode->i_sb)->s_journal;