diff options
author | Milan Broz <mbroz@redhat.com> | 2010-10-28 01:51:30 (GMT) |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-10-28 01:51:30 (GMT) |
commit | 51a0bb0c2e614659132fce272c8a1815a12c5c2a (patch) | |
tree | 93554b329e8e6cd9378641422dea4245c05a98dd /crypto | |
parent | 12ba8d1e9262ce81a695795410bd9ee5c9407ba1 (diff) | |
download | linux-51a0bb0c2e614659132fce272c8a1815a12c5c2a.tar.xz |
loop: Properly clear sysfs in autoclear mode
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 ee86273062cbb310665fe49e1f1937d2cf85b0b9
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions