projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b57f95a
)
ext4: check missed return value in ext4_sync_file()
author
Dmitry Monakhov
<dmonakhov@openvz.org>
Mon, 10 May 2010 04:00:00 +0000
(
00:00
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 10 May 2010 04:00:00 +0000
(
00:00
-0400)
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/fsync.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/fsync.c
b/fs/ext4/fsync.c
index 0d0c3239c1cddaf0029aaf999dc14dbb65e44353..42bd94a942c9449999dcff365fa06202a66aa136 100644
(file)
--- a/
fs/ext4/fsync.c
+++ b/
fs/ext4/fsync.c
@@
-101,7
+101,7
@@
int ext4_sync_file(struct file *file, struct dentry *dentry, int datasync)
(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;