-
由 Milan Broz 提交于
In autoclear mode bdev is NULL but the sysfs entry should be destroyed otherwise this warning appears: WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x82/0x95() sysfs: cannot create duplicate filename '/devices/virtual/block/loop0/loop' Fixes commit ee862730Signed-off-by: NMilan Broz <mbroz@redhat.com> Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
51a0bb0c