]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extract the code to translate VM error into errno, into an exported
authorkib <kib@FreeBSD.org>
Sun, 10 Jul 2011 20:49:13 +0000 (20:49 +0000)
committerkib <kib@FreeBSD.org>
Sun, 10 Jul 2011 20:49:13 +0000 (20:49 +0000)
commite45048555adb06b1123f059988723f8045e9a527
tree1244a5c3c59b391097dc596c103734a102504ea1
parent315e379ec22f6c795e1c4237bdb108f9545baa50
Extract the code to translate VM error into errno, into an exported
function vm_mmap_to_errno(). It is useful for the drivers that implement
mmap(2)-like functionality, to be able to return error codes consistent
with mmap(2).

Sponsored by: The FreeBSD Foundation
No objections from: alc
MFC after: 1 week
sys/vm/vm_extern.h
sys/vm/vm_mmap.c