Re: [PATCH v1 1/1] lock_mount(): Remove unused function

From: Al Viro

Date: Mon Sep 15 2025 - 21:25:40 EST


On Mon, Sep 15, 2025 at 06:02:21PM +0200, Andy Shevchenko wrote:
> clang is not happy about unused function:
>
> /fs/namespace.c:2856:20: error: unused function 'lock_mount' [-Werror,-Wunused-function]
> 2856 | static inline void lock_mount(const struct path *path,
> | ^~~~~~~~~~
> 1 error generated.
>
> Fix the compilation breakage (`make W=1` build) by removing unused function.
>
> Fixes: d14b32629541 ("change calling conventions for lock_mount() et.al.")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Folded into commit in question to avoid bisect hazard