mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
statmount: don't call path_put() under namespace semaphore
commite8c84e2082upstream. Massage statmount() and make sure we don't call path_put() under the namespace semaphore. If we put the last reference we're fscked. Fixes:46eae99ef7("add statmount(2) syscall") Cc: stable@vger.kernel.org # v6.8+ Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
159e2db6cb
commit
4d50e8360e
1 changed files with 3 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue