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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Aug 2018 19:53:15 +0000 (15:53 -0400)
commit2afc9166f79b8f6da5f347f48515215ceee4ae37
tree5d82e76262e17c762b7f75d156121087da8ee0e2
parent7fa8512330ab7cbb394b3e42ee092f4ad2e8f906
scsi: sysfs: Introduce sysfs_{un,}break_active_protection()

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>
fs/sysfs/file.c
include/linux/sysfs.h