On 04/28/2017 07:49 AM, Josef Bacik wrote: > list_for_each_entry() isn't super safe if we're freeing the objects > while we traverse the list. Also don't bother taking the extra > reference, the module refcounting stuff will save us from having anybody > messing with the device while we're trying to unload.
That looks better/safer. Applied for 4.12. -- Jens Axboe ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Nbd-general mailing list Nbd-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nbd-general