Re: [PATCH] debugfs: fix double unlock in open_proxy_open()

From: Nicolai Stange
Date: Sat Mar 12 2016 - 10:20:44 EST


Nicolai Stange <nicstange@xxxxxxxxx> writes:

> In case an open is racing with a debugfs file removal, the corresponding
> error path in open_proxy_open() releases its SRCU read side critical
> section twice, i.e. it does a double unlock.


This one has been reported by Rasmus Villemoes:

http://lkml.kernel.org/g/87d1r2uh95.fsf@xxxxxxxxxxxxxxxxxx


Thank you very much!

Nicolai