Re: [PATCH RFC 1/3] fs: introduce helper d_path_fast()
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2021-05-08 19:13:58
Also in:
linux-fsdevel, linux-s390, lkml
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2021-05-08 19:13:58
Also in:
linux-fsdevel, linux-s390, lkml
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...