opnsense-src/sys/fs/devfs
Robert Watson de592112e1 In devfs_allocv(), rather than assigning 'td = curthread', assert that
the caller passes in a td that is curthread, and consistently pass 'td'
into vget().  Remove some bogus logic that passed in td or curthread
conditional on td being non-NULL, which seems redundant in the face of
the earlier assignment of td to curthread if td is NULL.

In devfs_symlink(), cache the passed thread in 'td' so we don't have
to keep retrieving it from the 'ap' structure, and assert that td is
curthread (since we dereference it to get thread-local td_ucred).  Use
'td' in preference to curthread for later lockmgr calls, since they are
equal.
2004-07-22 17:03:14 +00:00
..
devfs.h Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
devfs_devs.c Reduce a fair bit of the atomics because we are now called with a 2004-06-18 08:08:47 +00:00
devfs_rule.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
devfs_vfsops.c Make VFS_ROOT() and vflush() take a thread argument. 2004-07-12 08:14:09 +00:00
devfs_vnops.c In devfs_allocv(), rather than assigning 'td = curthread', assert that 2004-07-22 17:03:14 +00:00