git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ba8d1
)
loop: Properly clear sysfs in autoclear mode
author
Milan Broz
<mbroz@redhat.com>
Thu, 28 Oct 2010 01:51:30 +0000
(19:51 -0600)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 28 Oct 2010 01:51:30 +0000
(19:51 -0600)
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>
drivers/block/loop.c
patch
|
blob
|
history
diff --cc
drivers/block/loop.c
Simple merge