[PATCH 0/2] (Was: BUG_ON in rcu_sync_func triggered)

Oleg Nesterov
2016-09-26T16:07:38Z

Hello,

The patches do not depend on each other.

1/2 is the trivial fix, imo -stable material. The bug is very old it seems,
but today this race (leading to unbalanced unlock) manifests itself via
mysterious BUG_ON's in rcu/sync.c.

2/2 is old, I forgot to send it before. It was already reviewed by Dave and Jan,
but the generic/068 test from xfstests triggered the warning. This was fixed by
dbad7c993053 "xfs: stop holding ILOCK over filldir callbacks" so we can hopefully
kill the early-lockdep-release kludge.

Oleg.

fs/super.c | 43 ++++++++++++++++++++++++++++---------------
1 file changed, 28 insertions(+), 15 deletions(-)