1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Add a hint suggesting why tmpfs does not need a special case there.

This commit is contained in:
Konstantin Belousov 2013-05-02 18:35:12 +00:00
parent d005340fe9
commit 53f5f8a0e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250187

View File

@ -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)