-
Kent Overstreet authored
We can't strictly guarantee that no pointers refer to nonexistent devices - we attempt to, but we need to be safe when the filesystem is corrupt. Therefore, change device_add to try to pick a slot that's never been used, or the slot that's been unused the longest. Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>
3a718c06