Page MenuHomeFreeBSD

ffs: remove unused thread argument from ffs_reload()
ClosedPublic

Authored by rew on Jul 9 2021, 11:58 PM.
Tags
None
Referenced Files
F141114695: D31127.id94670.diff
Thu, Jan 1, 1:28 AM
Unknown Object (File)
Nov 28 2025, 8:25 PM
Unknown Object (File)
Nov 24 2025, 10:08 PM
Unknown Object (File)
Nov 22 2025, 5:02 PM
Unknown Object (File)
Nov 20 2025, 11:28 PM
Unknown Object (File)
Nov 3 2025, 5:59 AM
Unknown Object (File)
Oct 19 2025, 4:32 AM
Unknown Object (File)
Oct 18 2025, 11:40 PM
Subscribers

Diff Detail

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

Event Timeline

rew requested review of this revision.Jul 9 2021, 11:58 PM
sys/ufs/ffs/ffs_vfsops.c
541

How do you know this is curthread here?

sys/ufs/ffs/ffs_vfsops.c
358

It gets assigned here

541

Before commit a92a971bbb94ad5b, vget() would assert that td == curthread.

In the above commit, the thread argument was dropped from vget().

vget() was the last consumer of the thread argument in ffs_reload(); curthread or the thread argument isn't referenced at all in ffs_reload().

imp added inline comments.
sys/ufs/ffs/ffs_vfsops.c
541

Then this looks good to me... I'd get kib or kirk to bless

This revision is now accepted and ready to land.Jul 10 2021, 1:33 AM