Re: [PATCH RFC 1/3] fs: introduce helper d_path_fast()

From: Al Viro
Date: Sat May 08 2021 - 15:14:08 EST


On Sat, May 08, 2021 at 08:30:43AM -0700, Linus Torvalds wrote:

> In fact, I think it would clean up prepend_path() and make it more
> legible to have the two layers of mount_lock / rename_lock be done in
> callers with the restarting being done as a loop in the caller rather
> than as "goto restart_*".

Potentiallty delicate question is how to pass bptr/blen to the caller
of that helper...