commit | 034772b068be62a79470d6c1b81b01fbe27793ac | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Jun 03 22:31:11 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jun 03 22:31:11 2008 -0400 |
tree | 408b55ae9241d1dca1145e16ff781b5f0112dd35 | |
parent | cd0b6a39a1d68b61b1073662f40f747c8b728f98 [diff] |
jbd2: Fix barrier fallback code to re-lock the buffer head If the device doesn't support write barriers, the write is retried without ordered mode. But the buffer head needs to be re-locked or submit_bh will fail with on BUG(!buffer_locked(bh)). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>