• Andrew Morton's avatar
    [PATCH] __bdevname atomicity fix · 17817dc3
    Andrew Morton authored
    This function was recently converted to use rwsem locking.  But it is called
    from interrupts in (at least) buffer_io_error().
    
    And we do want a function like this to be robust and atomic.  So convert it
    to use spinlocking.
    17817dc3
genhd.c 14 KB