diff options
author | Ryan Libby <rlibby@FreeBSD.org> | 2024-05-26 17:20:52 +0000 |
---|---|---|
committer | Ryan Libby <rlibby@FreeBSD.org> | 2024-05-26 17:20:52 +0000 |
commit | 6bd3f23a2a828350b23350b0b183754f6f9c8d08 (patch) | |
tree | eb255c549529a76a011196c525dd5b42bc87cba1 | |
parent | c68db4608ef63534a001b55de80995e1c3442d2a (diff) |
-rw-r--r-- | sys/fs/tmpfs/tmpfs_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index 53781202b066..3f74c383a171 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -349,7 +349,7 @@ tmpfs_node_init(void *mem, int size, int flags) node = mem; node->tn_id = 0; - mtx_init(&node->tn_interlock, "tmpfsni", NULL, MTX_DEF); + mtx_init(&node->tn_interlock, "tmpfsni", NULL, MTX_DEF | MTX_NEW); node->tn_gen = arc4random(); return (0); } |