Date: Sat, 5 Feb 2011 21:21:27 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c src/sys/nfsserver nfs_serv.c src/sys/security/mac mac_process.c src/sys/vm vm_object.c vm_object.h Message-ID: <201102052121.p15LLkkx066420@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2011-02-05 21:21:27 UTC
FreeBSD src repository
Modified files:
sys/fs/nfsserver nfs_nfsdport.c
sys/nfsserver nfs_serv.c
sys/security/mac mac_process.c
sys/vm vm_object.c vm_object.h
Log:
SVN rev 218345 on 2011-02-05 21:21:27Z by alc
Unless "cnt" exceeds MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() are
incorrectly calling vm_object_page_clean(). They are passing the length of
the range rather than the ending offset of the range.
Perform the OFF_TO_IDX() conversion in vm_object_page_clean() rather than the
callers.
Reviewed by: kib
MFC after: 3 weeks
Revision Changes Path
1.42 +2 -1 src/sys/fs/nfsserver/nfs_nfsdport.c
1.208 +2 -1 src/sys/nfsserver/nfs_serv.c
1.133 +2 -5 src/sys/security/mac/mac_process.c
1.439 +7 -9 src/sys/vm/vm_object.c
1.126 +2 -1 src/sys/vm/vm_object.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102052121.p15LLkkx066420>
