On 11/10/2018 21:20, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > The only interesting thing here is that there may be two floppies (i.e., > request queues) sharing the same controller, so we use the global struct > swim_priv->lock to check whether the controller is busy. Compile-tested > only. > > Cc: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> > Cc: Laurent Vivier <lvivier@xxxxxxxxxx> > Signed-off-by: Omar Sandoval <osandov@xxxxxx> > --- > drivers/block/swim.c | 101 +++++++++++++++++++++---------------------- > 1 file changed, 49 insertions(+), 52 deletions(-) > Acked-by: Laurent Vivier <lvivier@xxxxxxxxxx>