From 18f3c2d2a3016f1710b183a8c79f853d61426981 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 5 Oct 2017 18:57:33 -0700 Subject: [PATCH] tmpfs - Fix bug in call to vinitvmio() * TMPFS_BLKMASK was being passed to vinitvmio() instead of TMPFS_BLKSIZE. It is unclear if this caused any particular issue other than an occasional console warning. Fixed. --- sys/vfs/tmpfs/tmpfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vfs/tmpfs/tmpfs_subr.c b/sys/vfs/tmpfs/tmpfs_subr.c index 5542da5612..a38ae16264 100644 --- a/sys/vfs/tmpfs/tmpfs_subr.c +++ b/sys/vfs/tmpfs/tmpfs_subr.c @@ -439,7 +439,7 @@ loop: case VSOCK: break; case VREG: - vinitvmio(vp, node->tn_size, TMPFS_BLKMASK, -1); + vinitvmio(vp, node->tn_size, TMPFS_BLKSIZE, -1); break; case VLNK: break; -- 2.41.0