diff options
author | kib <kib@FreeBSD.org> | 2011-07-10 20:49:13 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-07-10 20:49:13 +0000 |
commit | e45048555adb06b1123f059988723f8045e9a527 (patch) | |
tree | 1244a5c3c59b391097dc596c103734a102504ea1 /sys/kern/vfs_mountroot.c | |
parent | 315e379ec22f6c795e1c4237bdb108f9545baa50 (diff) | |
download | FreeBSD-src-e45048555adb06b1123f059988723f8045e9a527.zip FreeBSD-src-e45048555adb06b1123f059988723f8045e9a527.tar.gz |
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
Diffstat (limited to 'sys/kern/vfs_mountroot.c')
0 files changed, 0 insertions, 0 deletions