ext4: check return value of blkdev_issue_flush()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:58:17 +0000 (09:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:58:17 +0000 (09:58 -0400)
commita4a39040e9dacb5fa28b7ee7f842237ee534e7bf
tree141c76f177f8625db5a394f0b3f294e35e383b8d
parent316e4cfd0b0b4ce846fd0fbda2deebcffbd3e440
ext4: check return value of blkdev_issue_flush()

blkdev_issue_flush() can fail; make sure the error gets properly
propagated.

This is a port of the equivalent ext3 patch from commit 44f4f729e7a1.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/fsync.c