Re: [PATCH 10/15] __d_add(): don't drop/regain ->d_lock

From: Al Viro
Date: Sun Apr 24 2016 - 15:21:14 EST


On Sun, Apr 24, 2016 at 02:09:09PM -0400, Jeff Layton wrote:

> Should the above be a new __d_instantiate_locked instead of open-coding
> it?

Nope - it gets rehash mashed into it a few commits later. In principle
we could try to fish the common helper out of it and __d_instantiate()
once the dust settles, but IMO there's not much point.