Vishal Verma wrote: > In size_show(), the dax_dev_rwsem only needs a read lock, but was > acquiring a write lock. Change it to down_read_interruptible() so it > doesn't unnecessarily hold a write lock. > > Cc: Dan Williams <[email protected]> > Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local > rwsem") > Signed-off-by: Vishal Verma <[email protected]> > --- > drivers/dax/bus.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Looks good, Reviewed-by: Dan Williams <[email protected]>

