diff options
-rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 43afaa5d6901..6e35762b6169 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3010,7 +3010,7 @@ int sync_dirty_buffer(struct buffer_head *bh) | |||
3010 | if (test_clear_buffer_dirty(bh)) { | 3010 | if (test_clear_buffer_dirty(bh)) { |
3011 | get_bh(bh); | 3011 | get_bh(bh); |
3012 | bh->b_end_io = end_buffer_write_sync; | 3012 | bh->b_end_io = end_buffer_write_sync; |
3013 | ret = submit_bh(WRITE, bh); | 3013 | ret = submit_bh(WRITE_SYNC, bh); |
3014 | wait_on_buffer(bh); | 3014 | wait_on_buffer(bh); |
3015 | if (buffer_eopnotsupp(bh)) { | 3015 | if (buffer_eopnotsupp(bh)) { |
3016 | clear_buffer_eopnotsupp(bh); | 3016 | clear_buffer_eopnotsupp(bh); |