Re: [PATCH] mount: rebuild error handling in do_new_mount

From: Al Viro
Date: Sat Dec 10 2022 - 18:39:48 EST


On Sun, Dec 04, 2022 at 11:00:05PM +0800, Chuang Wang wrote:
> When a function execution error is detected in do_new_mount, it should
> return immediately. Using this can make the code easier to understand.

Your piles of goto make it harder to follow and reason about.

NAKed-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>