Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/compat



Module Name:    src
Committed By:   dsl
Date:           Sat Jan  5 19:14:09 UTC 2008

Modified Files:
        src/sys/compat/irix: irix_fcntl.c irix_ioctl.c
        src/sys/compat/netbsd32: netbsd32_fs.c
        src/sys/compat/sunos32: sunos32_ioctl.c sunos32_misc.c
        src/sys/compat/svr4: svr4_fcntl.c svr4_filio.c svr4_stream.c
        src/sys/compat/svr4_32: svr4_32_fcntl.c svr4_32_filio.c svr4_32_ioctl.c
        src/sys/compat/ultrix: ultrix_ioctl.c ultrix_pathname.c

Log Message:
Use FILE_LOCK() and FILE_UNLOCK().
Attempt to fix all the code paths so that the 'fp' returned by fd_getfile()
isn't left locked, and is always unlocked (and ref-counted) before
doing anything that might sleep.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/compat/irix/irix_fcntl.c
cvs rdiff -r1.17 -r1.18 src/sys/compat/irix/irix_ioctl.c
cvs rdiff -r1.49 -r1.50 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -r1.26 -r1.27 src/sys/compat/sunos32/sunos32_ioctl.c
cvs rdiff -r1.57 -r1.58 src/sys/compat/sunos32/sunos32_misc.c
cvs rdiff -r1.65 -r1.66 src/sys/compat/svr4/svr4_fcntl.c
cvs rdiff -r1.18 -r1.19 src/sys/compat/svr4/svr4_filio.c
cvs rdiff -r1.73 -r1.74 src/sys/compat/svr4/svr4_stream.c
cvs rdiff -r1.29 -r1.30 src/sys/compat/svr4_32/svr4_32_fcntl.c
cvs rdiff -r1.12 -r1.13 src/sys/compat/svr4_32/svr4_32_filio.c
cvs rdiff -r1.18 -r1.19 src/sys/compat/svr4_32/svr4_32_ioctl.c
cvs rdiff -r1.33 -r1.34 src/sys/compat/ultrix/ultrix_ioctl.c
cvs rdiff -r1.32 -r1.33 src/sys/compat/ultrix/ultrix_pathname.c

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




Home | Main Index | Thread Index | Old Index