Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/fs/tmpfs
Module Name: src
Committed By: jmmv
Date: Sun Nov 5 16:59:18 UTC 2006
Modified Files:
src/sys/fs/tmpfs: tmpfs.h tmpfs_subr.c tmpfs_vnops.c
Log Message:
Truncate directory cookies to 31 bits to avoid problems exposed in Linux
binaries which cast the returned values to 64-bits and fail due to sign
expansion. More details are provided in the big comment in tmpfs.h that
describes how the new tmpfs_dircookie works.
This is a rather ugly hack that shall be fixed with a cleaner solution,
but this resolves the problem in an effective way.
Fixes kern PR/32034.
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/fs/tmpfs/tmpfs.h
cvs rdiff -r1.26 -r1.27 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -r1.28 -r1.29 src/sys/fs/tmpfs/tmpfs_vnops.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