Date: Fri, 10 Aug 2007 11:00:31 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c Message-ID: <200708101100.l7AB0WGY002638@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2007-08-10 11:00:31 UTC
FreeBSD src repository
Modified files:
sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c
Log:
MFp4:
- LK_RETRY prohibits vget() and vn_lock() to return error.
Remove associated code. [1]
- Properly use vhold() and vdrop() instead of their unlocked
versions, we are guaranteed to have the vnode's interlock
unheld. [1]
- Fix a pseudo-infinite loop caused by 64/32-bit arithmetic
with the same way used in modern NetBSD versions. [2]
- Reorganize tmpfs_readdir to reduce duplicated code.
Submitted by: kib [1]
Obtained from: NetBSD [2]
Approved by: re (tmpfs blanket)
Revision Changes Path
1.11 +67 -4 src/sys/fs/tmpfs/tmpfs.h
1.12 +7 -15 src/sys/fs/tmpfs/tmpfs_subr.c
1.10 +22 -41 src/sys/fs/tmpfs/tmpfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708101100.l7AB0WGY002638>
