]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reduce code duplication and exposure of direct access to struct
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 4 Aug 2012 18:16:43 +0000 (18:16 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 4 Aug 2012 18:16:43 +0000 (18:16 +0000)
commit0055cbd3c570204a06928927c64b0b61a430328d
tree6ac153a747b185932191fda117e5d5ee749c7fd6
parent843dcea09e00a22494df2f0efe5c2b4ea4a1705a
Reduce code duplication and exposure of direct access to struct
vm_page oflags by providing helper function
vm_page_readahead_finish(), which handles completed reads for pages
with indexes other then the requested one, for VOP_GETPAGES().

Reviewed by: alc
MFC after: 1 week
sys/fs/nfsclient/nfs_clbio.c
sys/fs/nwfs/nwfs_io.c
sys/fs/smbfs/smbfs_io.c
sys/nfsclient/nfs_bio.c
sys/vm/vm_page.c
sys/vm/vm_page.h
sys/vm/vnode_pager.c