Author: kib
Date: Thu May  2 18:35:12 2013
New Revision: 250187
URL: http://svnweb.freebsd.org/changeset/base/250187

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

Modified:
  head/sys/vm/vm_mmap.c

Modified: head/sys/vm/vm_mmap.c
==============================================================================
--- head/sys/vm/vm_mmap.c       Thu May  2 17:02:50 2013        (r250186)
+++ head/sys/vm/vm_mmap.c       Thu May  2 18:35:12 2013        (r250187)
@@ -1289,7 +1289,7 @@ vm_mmap_vnode(struct thread *td, vm_size
                        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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to