Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163666
b: refs/heads/master
c: 5f3481e
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Theodore Ts'o committed Sep 6, 2009
1 parent 7dbfce7 commit 656c5fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d0646f7b636d067d715fab52a2ba9c6f0f46b0d7
refs/heads/master: 5f3481e9a80c240f169b36ea886e2325b9aeb745
4 changes: 2 additions & 2 deletions trunk/fs/ext4/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ int ext4_sync_file(struct file *file, struct dentry *dentry, int datasync)
.nr_to_write = 0, /* sys_fsync did this */
};
ret = sync_inode(inode, &wbc);
if (journal && (journal->j_flags & JBD2_BARRIER))
blkdev_issue_flush(inode->i_sb->s_bdev, NULL);
}
out:
if (journal && (journal->j_flags & JBD2_BARRIER))
blkdev_issue_flush(inode->i_sb->s_bdev, NULL);
return ret;
}

0 comments on commit 656c5fd

Please sign in to comment.