On Wed, May 15, 2019 at 01:20:26PM +0200, Bart Van Assche wrote: > On 5/15/19 1:04 PM, Leon Romanovsky wrote: > > Any suggestions on what should be done in ib_srp to fix it? > > Hi Leon, > > How about adding an after_rename function pointer in struct ib_client, > making ib_device_rename() call that function and adding an > implementation of that callback in ib_srp that renames the SRP sysfs > attributes that contain the device name? Yes, I already implemented this variant, but hoped to see other ideas, because we have no chances to rollback if something in ib_srp rename phase will go wrong. Thanks > > Thanks, > > Bart. >