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