diff options
author | Varun Prakash | 2016-07-21 19:27:18 +0200 |
---|---|---|
committer | David S. Miller | 2016-07-25 19:31:09 +0200 |
commit | 9d5c44b7c4f4345341bf96b16fdeb6debc437172 (patch) | |
tree | 859fecf06e46790fc70724f95f5378b7162f2e6d /drivers/target/iscsi/cxgbit | |
parent | cxgb3i: add iSCSI DDP support (diff) | |
download | kernel-qcow2-linux-9d5c44b7c4f4345341bf96b16fdeb6debc437172.tar.gz kernel-qcow2-linux-9d5c44b7c4f4345341bf96b16fdeb6debc437172.tar.xz kernel-qcow2-linux-9d5c44b7c4f4345341bf96b16fdeb6debc437172.zip |
libcxgb: export ppm release and tagmask set api
Export cxgbi_ppm_release() to release
ppod manager and cxgbi_tagmask_set() to
set tag mask, they are used by cxgb3i, cxgb4i
and cxgbit.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target/iscsi/cxgbit')
-rw-r--r-- | drivers/target/iscsi/cxgbit/cxgbit_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/target/iscsi/cxgbit/cxgbit_main.c b/drivers/target/iscsi/cxgbit/cxgbit_main.c index 60dccd02bd85..27dd11aff934 100644 --- a/drivers/target/iscsi/cxgbit/cxgbit_main.c +++ b/drivers/target/iscsi/cxgbit/cxgbit_main.c @@ -26,6 +26,8 @@ void _cxgbit_free_cdev(struct kref *kref) struct cxgbit_device *cdev; cdev = container_of(kref, struct cxgbit_device, kref); + + cxgbi_ppm_release(cdev2ppm(cdev)); kfree(cdev); } |