diff options
author | Christoph Hellwig <hch@lst.de> | 2016-05-03 18:01:10 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-13 19:37:19 +0200 |
commit | e64aa657c3d0dae84c2ccc166f6fe25b7d1d28c6 (patch) | |
tree | 898c3e12c36c5d5b561aacb0b8fa2e9804714e1a /init/initramfs.c | |
parent | IB/core: generic RDMA READ/WRITE API (diff) | |
download | linux-e64aa657c3d0dae84c2ccc166f6fe25b7d1d28c6.tar.xz linux-e64aa657c3d0dae84c2ccc166f6fe25b7d1d28c6.zip |
target: enhance and export target_alloc_sgl/target_free_sgl
The SRP target driver will need to allocate and chain it's own SGLs soon.
For this export target_alloc_sgl, and add a new argument to it so that it
can allocate an additional chain entry that doesn't point to a page. Also
export transport_free_sgl after renaming it to target_free_sgl to free
these SGLs again.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions