The source project of this merge request has been removed.
scsi: target: Allow changing dbroot if there are no registered devices
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2075759
The target driver prevents the users from changing the database root directory if a target module like ib_srpt has been registered. This makes it difficult for users to set their preferred database directory if the module gets loaded during the system boot.
Let the users modify dbroot if there are no registered devices
Link: https://lore.kernel.org/r/20220328103940.19977-1-mlombard@redhat.com Reviewed-by: Mike Christie michael.christie@oracle.com Signed-off-by: Maurizio Lombardi mlombard@redhat.com Signed-off-by: Martin K. Petersen martin.petersen@oracle.com (cherry picked from commit 80890c5ea068661d6fe4a34beb362ca0f2c49c90) Signed-off-by: Maurizio Lombardi mlombard@redhat.com
Edited by Maurizio Lombardi