On Mon, 14 Aug 2023 at 13:38, Amir Goldstein <amir73il@xxxxxxxxx> wrote: > Well, I didn't do it to silence lockdep. I did it as a prereq for > start-write-safe fsnotify hooks (see [1] above). > Silencing lockdep is an added bonus that I observed along the way. > > v2 [2] has a less hacky, but more noisy version of this patch which > minimizes the scope of ovl_want_write() to when we need it. > Let me know if this is what you had in mind. Yes, I like this better, thanks. Please post this as a series, and I'll do a review. I've already caught a glance of an error case bug in one of the patches. Thanks, Miklos