Re: [PATCH 13/19] vfs: Add a mount-notification facility [ver #16]

From
David Howells <dhowells@redhat.com>
Date
2020-02-21 12:24:59
Also in
linux-fsdevel, lkml
Reply to
Jann Horn, 2020-02-19
Jann Horn [off-list ref] wrote:
quoted
+ * Post mount notifications to all watches going rootwards along the tree.
+ *
+ * Must be called with the mount_lock held.
Please put such constraints into lockdep assertions instead of
comments; that way, violations can actually be detected.
What's the best way to write a lockdep assertion?

	BUG_ON(!lockdep_is_held(lock));

David
Thread (67 messages) 67 messages, 9 authors, last reply 2020-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help