Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 21:27:14 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273430 - head/sys/fs/tmpfs
Message-ID:  <201410212127.s9LLREDw003939@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Oct 21 21:27:13 2014
New Revision: 273430
URL: https://svnweb.freebsd.org/changeset/base/273430

Log:
  tmpfs: allow shared file lookups
  
  Tested by: pho

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

Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_vfsops.c	Tue Oct 21 21:27:13 2014	(r273429)
+++ head/sys/fs/tmpfs/tmpfs_vfsops.c	Tue Oct 21 21:27:13 2014	(r273430)
@@ -255,7 +255,7 @@ tmpfs_mount(struct mount *mp)
 
 	MNT_ILOCK(mp);
 	mp->mnt_flag |= MNT_LOCAL;
-	mp->mnt_kern_flag |= MNTK_SUSPENDABLE;
+	mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_SUSPENDABLE;
 	MNT_IUNLOCK(mp);
 
 	mp->mnt_data = tmp;



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