Subject: CVS commit: syssrc/sys/compat/linux/common
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/24/2002 02:32:35
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sun Mar 24 00:32:35 UTC 2002

Modified Files:
	syssrc/sys/compat/linux/common: linux_file.c

Log Message:
Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different way
(revisions 1.47 & 1.48 effectively backed off):
* for all but vnodes, just fallback to sys_fcntl(); assumming
  state of support for F_SETOWN/F_GETOWN and even hardcoding it here is
  not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE)
* fallback to sys_fcntl() also for vnodes which don't represent tty
* don't need to use FILE_{,UN}USE() here, the code won't block while
  using the pointer
* add/fix some comments


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 syssrc/sys/compat/linux/common/linux_file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.