aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2013-06-19 11:56:46 +0000
committerMauro Carvalho Chehab <[email protected]>2013-09-24 16:41:38 +0000
commit774d23010f6a7d7d299552f0b1edfbe1ec82c5e7 (patch)
treebc7a8ad585e0254b27cee8b21e66dd873bd0f82e /fs/btrfs/async-thread.c
parent[media] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused' (diff)
downloadkernel-774d23010f6a7d7d299552f0b1edfbe1ec82c5e7.tar.gz
kernel-774d23010f6a7d7d299552f0b1edfbe1ec82c5e7.zip
[media] videobuf2-dc: Fix support for mappings without struct page in userptr mode
Earlier version of dma-contig allocator in user ptr mode assumed that in all cases DMA address equals physical address. This was just a special case. Commit e15dab752d4c588544ccabdbe020a7cc092e23c8 introduced correct support for converting userpage to dma address, but unfortunately it broke the support for simple dma address = physical address for the case, when given physical frame has no struct page associated with it (this happens if one use for example dma_declare_coherent api or other reserved memory approach). This commit restores support for such cases. Signed-off-by: Marek Szyprowski <[email protected]> [[email protected]: replaced #elsif with #elif] Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions