Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 09:35:14 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268616 - head/sys/fs/tmpfs
Message-ID:  <201407140935.s6E9ZE41057759@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Jul 14 09:35:14 2014
New Revision: 268616
URL: http://svnweb.freebsd.org/changeset/base/268616

Log:
  Change forgotten in r268615.  Set the OBJ_TMPFS_NODE flag for
  vm_object of VREG tmpfs node.
  
  Tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	2 weeks

Modified:
  head/sys/fs/tmpfs/tmpfs_subr.c

Modified: head/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_subr.c	Mon Jul 14 09:30:37 2014	(r268615)
+++ head/sys/fs/tmpfs/tmpfs_subr.c	Mon Jul 14 09:35:14 2014	(r268616)
@@ -231,7 +231,7 @@ tmpfs_alloc_node(struct tmpfs_mount *tmp
 			NULL /* XXXKIB - tmpfs needs swap reservation */);
 		VM_OBJECT_WLOCK(obj);
 		/* OBJ_TMPFS is set together with the setting of vp->v_object */
-		vm_object_set_flag(obj, OBJ_NOSPLIT);
+		vm_object_set_flag(obj, OBJ_NOSPLIT | OBJ_TMPFS_NODE);
 		vm_object_clear_flag(obj, OBJ_ONEMAPPING);
 		VM_OBJECT_WUNLOCK(obj);
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407140935.s6E9ZE41057759>