Page MenuHomeFreeBSD

fix nfs_ioctl() so that it does not use v_mount when the vnode is unlocked
ClosedPublic

Authored by rmacklem on Sep 30 2022, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 13, 5:01 AM
Unknown Object (File)
Mar 7 2025, 8:46 PM
Unknown Object (File)
Mar 6 2025, 12:10 PM
Unknown Object (File)
Feb 27 2025, 4:16 AM
Unknown Object (File)
Feb 23 2025, 5:19 PM
Unknown Object (File)
Feb 22 2025, 5:56 AM
Unknown Object (File)
Feb 19 2025, 12:07 AM
Unknown Object (File)
Feb 7 2025, 3:57 PM
Subscribers

Details

Summary

Commit ab17854f974b fixed access to v_mount when the
vnode is unlocked for nfs_copy_file_range().

This patch does the same for nfs_ioctl().

Test Plan

Tested for NFSv3 and NFSv4.2 mounts (without and
with a Seek operation).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable