]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: submit_bh() inadvertently discards barrier flag on a sync write
authorJens Axboe <jens.axboe@oracle.com>
Fri, 22 Aug 2008 08:00:36 +0000 (10:00 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 27 Aug 2008 07:50:19 +0000 (09:50 +0200)
commit48fd4f93a00eac844678629f2f00518e146ed30d
treec71f6792742886db9912078c70b3e8806e9f260f
parenta4a778971b9cfcbedb8648ba502d801f7db04c47
block: submit_bh() inadvertently discards barrier flag on a sync write

Reported by Milan Broz <mbroz@redhat.com>, commit 18ce3751 inadvertently
made submit_bh() discard the barrier bit for a WRITE_SYNC request. Fix
that up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/buffer.c