summaryrefslogtreecommitdiff
path: root/fs/autofs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-03-18 19:14:23 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2021-03-19 07:58:25 +0300
commit2d29960af0bee8cc6731b9bd3964850c9e7a6840 (patch)
treeba8681e49c8ea749f5c2fe64af50a1aa3f457329 /fs/autofs
parent73f620951b2b594bdc38722c0d647c3b3312af7a (diff)
downloadlinux-2d29960af0bee8cc6731b9bd3964850c9e7a6840.tar.xz
swiotlb: dynamically allocate io_tlb_default_mem
Instead of allocating ->list and ->orig_addr separately just do one dynamic allocation for the actual io_tlb_mem structure. This simplifies a lot of the initialization code, and also allows to just check io_tlb_default_mem to see if swiotlb is in use. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions