Prev: [006/140] pegasus: fix USB device ID for ETX-US2
Next: [104/165] ext4: Fix estimate of # of blocks needed to write indirect-mapped files
From: Greg KH on 30 Jul 2010 13:40 2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ commit 0671e704658b9f26f85e78d51176daa861f955c7 upstream (as of v2.6.34-git13) Signed-off-by: Dmitry Monakhov <dmonakhov(a)openvz.org> Signed-off-by: "Theodore Ts'o" <tytso(a)mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- fs/ext4/fsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ext4/fsync.c +++ b/fs/ext4/fsync.c @@ -101,7 +101,7 @@ int ext4_sync_file(struct file *file, st (journal->j_fs_dev != journal->j_dev) && (journal->j_flags & JBD2_BARRIER)) blkdev_issue_flush(inode->i_sb->s_bdev, NULL); - jbd2_log_wait_commit(journal, commit_tid); + ret = jbd2_log_wait_commit(journal, commit_tid); } else if (journal->j_flags & JBD2_BARRIER) blkdev_issue_flush(inode->i_sb->s_bdev, NULL); return ret; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |