jffs2: Improve post-mount CRC scan efficiency

Woodhouse, David david.woodhouse at intel.com
Mon Feb 29 14:30:54 PST 2016


On Tue, 2016-03-01 at 01:17 +0300, Dan Carpenter wrote:
> Hello David Woodhouse,
> 
> The patch d5e1e1d07f80: "jffs2: Improve post-mount CRC scan
> efficiency" from Feb 1, 2016, leads to the following static checker
> warning:
> 
>         fs/jffs2/gc.c:177 jffs2_garbage_collect_pass()
>         error: double lock 'spin_lock:&c->inocache_lock'

Er, yeah. We're supposed to *unlock* it when we're finished, not lock
it harder. Thanks :)

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3437 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20160229/32800344/attachment.bin>


More information about the linux-mtd mailing list