Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Differential
D15452
Diff 42623
sys/compat/linuxkpi/common/include/linux/file.h
Changeset View
This function cannot be safely implemented under FreeBSD, because Linux use RCU to protect FD's while in FreeBSD we have a refcount. You need to use the existing fget() and don't forget to add a fput() call to release the refcount!
Please remove this #define