diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-02 18:35:12 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-02 18:35:12 +0000 |
commit | 53f5f8a0e16e26a184d921b7d7484f64ab487f59 (patch) | |
tree | e7a242e273c17e20cc5d176448238bb6adab1598 /sys/vm/vm_mmap.c | |
parent | d005340fe9c9b75c7249dd2df977816debea51a5 (diff) | |
download | src-53f5f8a0e16e26a184d921b7d7484f64ab487f59.tar.gz src-53f5f8a0e16e26a184d921b7d7484f64ab487f59.zip |
Add a hint suggesting why tmpfs does not need a special case there.
Notes
Notes:
svn path=/head/; revision=250187
Diffstat (limited to 'sys/vm/vm_mmap.c')
-rw-r--r-- | sys/vm/vm_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index ef63f850ed00..bf9f5f98cbf4 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -1289,7 +1289,7 @@ vm_mmap_vnode(struct thread *td, vm_size_t objsize, vp = (struct vnode *)obj->handle; /* * Bypass filesystems obey the mpsafety of the - * underlying fs. + * underlying fs. Tmpfs never bypasses. */ error = vget(vp, locktype, td); if (error != 0) |