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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:18:40 +0000 (09:18 +0200)
commit461a6385e58e8247e6ba2005aa5d1b8d980ee4a2
tree96e535058883dba2d400ddd86f7541480aea504f
parentbb190acea829443e0be1cd6dc87837df03b39083
scsi: sysfs: Introduce sysfs_{un,}break_active_protection()

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