]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:26:41 +0000 (09:26 +0200)
commitc984f4d1d40a2f349503b3faf946502ccbf02f9f
treecfab9e926898e4fc2a8acb2309f188ba364e7074
parentd071004e0249a2ecc5d856dd680835ad46fde062
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