]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
brd: fix cacheflushing
authorNick Piggin <npiggin@suse.de>
Wed, 15 Apr 2009 08:32:07 +0000 (10:32 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 15 Apr 2009 10:10:13 +0000 (12:10 +0200)
commitc2572f2b4ffc27ba79211aceee3bef53a59bb5cd
tree8c6680ad7778659c447c2a60b8565490b0d6f427
parentdfbc4752eab33e66f113f9daa2effbe241cd661d
brd: fix cacheflushing

brd is missing a flush_dcache_page. On 2nd thoughts, perhaps it is the
pagecache's responsibility to flush user virtual aliases (the driver of
course should flush kernel virtual mappings)... but anyway, there
already exists cache flushing for one direction of transfer, so we
should add the other.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/brd.c