On Mon, Sep 16, 2019 at 06:16:06PM +0100, Al Viro wrote: > On Sun, Sep 15, 2019 at 08:44:05PM -0700, Linus Torvalds wrote: > > On Sun, Sep 15, 2019 at 8:04 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > > > > > Perhaps lockref_get_nested(struct lockref *lockref, unsigned int subclass)? > > > With s/spin_lock/spin_lock_nested/ in the body... > > > > Sure. Under the usual CONFIG_DEBUG_LOCK_ALLOC, with the non-debug case > > just turning into a regular lockref_get(). > > > > Sounds fine to me. > > Done and force-pushed into vfs.git#fixes BTW, folks, I would really appreciate more people _testing_ that thing; it survives the local beating, but...