CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/04/30 03:20:51

Modified files:
        sys/compat/linux: linux_cdrom.c linux_termios.c 
        sys/kern       : kern_descrip.c sys_generic.c vfs_syscalls.c 
        sys/sys        : filedesc.h 

Log message:
Indroduce fd_getfile_mode() and use it were fd_getfile() is directly
followed by a mode check.  This will simplify the ref/unref dance as
soon as fd_getfile() will increment fp's reference counter.

Idea from and ok guenther@, ok millert@

Reply via email to