Re: [PATCH 1/2] audit: Quit audit_free_names() early if name list empty

Al Viro
2026-01-21T03:09:28Z

On Tue, Jan 20, 2026 at 09:35:08PM -0500, Waiman Long wrote:
> Optimize audit_free_names() by quitting early if the name list is empty.
> This eliminates the need to acquire and release the fs_struct spinlock
> in path_put().

Why would path_put() go anywhere need fs_struct spinlock???