]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 2 Aug 2018 17:51:40 +0000 (10:51 -0700)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:45:16 +0000 (19:45 -0600)
commit6354639555117a50695d453a587ec8c02fa38c54
tree8735126b27e423a53857d7078d45596385082073
parentbfd35079bdb681afe0b5d6f8126a1b99826eb2dd
scsi: sysfs: Introduce sysfs_{un,}break_active_protection()

BugLink: https://bugs.launchpad.net/bugs/1835972
commit 2afc9166f79b8f6da5f347f48515215ceee4ae37 upstream.

Introduce these two functions and export them such that the next patch
can add calls to these functions from the SCSI core.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/sysfs/file.c
include/linux/sysfs.h