summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBart Van Assche2018-01-22 23:27:11 +0100
committerDoug Ledford2018-01-23 17:35:04 +0100
commit172856eac7cfaaeabad6a282d3c79d687ad69fc0 (patch)
treeefe5a9d327c0b3e0c827ba49199e2e2e3142c16d /include/scsi
parentRDMA/cma: Update RoCE multicast routines to use net namespace (diff)
downloadkernel-qcow2-linux-172856eac7cfaaeabad6a282d3c79d687ad69fc0.tar.gz
kernel-qcow2-linux-172856eac7cfaaeabad6a282d3c79d687ad69fc0.tar.xz
kernel-qcow2-linux-172856eac7cfaaeabad6a282d3c79d687ad69fc0.zip
kobject: Export kobj_ns_grab_current() and kobj_ns_drop()
Make it possible to call these two functions from a kernel module. Note: despite their name, these two functions can be used meaningfully independent of kobjects. A later patch will add calls to these functions from the SRP driver because this patch series modifies the SRP driver such that it can hold a reference to a namespace that can last longer than the lifetime of the process through which the namespace reference was obtained. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions