jbd2: check return value of blkdev_issue_flush()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:56:17 +0000 (09:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Aug 2012 13:56:17 +0000 (09:56 -0400)
commit316e4cfd0b0b4ce846fd0fbda2deebcffbd3e440
treea8ab826ad9dbbbc886e5112c8d56d591123b37af
parent67a5da564f97f31c4054d358e00b34d7ee570da5
jbd2: 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 jbd patch from commit 349ecd6a3c0e.

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