xfs: fix xfs to work with Virtually Indexed architectures
authorJames Bottomley <James.Bottomley@suse.de>
Mon, 25 Jan 2010 17:42:24 +0000 (11:42 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 5 Feb 2010 18:32:35 +0000 (12:32 -0600)
commit73c77e2ccc14413c232c3e0b3aa43a0c4b72ec70
tree31ff85de9d06c07d1e06114274239c75560ff15c
parentc9334f6067dbe0380141fc75b122e0a533878838
xfs: fix xfs to work with Virtually Indexed architectures

xfs_buf.c includes what is essentially a hand rolled version of
blk_rq_map_kern().  In order to work properly with the vmalloc buffers
that xfs uses, this hand rolled routine must also implement the flushing
API for vmap/vmalloc areas.

[style updates from hch@lst.de]
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
fs/xfs/linux-2.6/xfs_buf.c