the bitrig pedro_tmpfs branch has been created by pedro. it is 0 commits behind master, and 6 commits ahead.
commit 7f840ff1a7523d23e8dcf59a3a52048bffd26ef1 diff: https://github.com/bitrig/bitrig/commit/7f840ff author: Pedro Martelletto <[email protected]> date: Wed Jan 28 11:39:07 2015 +0100 Correctly set the attributes of the root node when loading tmpfs snapshots. The permissions were left completely zero'd out, as noticed by Markus Friedl <[email protected]>. Set them according to the root node entry in the tmpfs snapshot image. Bump copyright and add a comment while here. M sys/tmpfs/tmpfs_snapshot.c commit cb2387a03c3793e44059da6adf58987e8960e001 diff: https://github.com/bitrig/bitrig/commit/cb2387a author: pedro martelletto <[email protected]> date: Mon Jan 26 07:26:24 2015 +0100 Another case of bogus tmpfs_free_node(). Squash with previous. M sys/tmpfs/tmpfs_snapshot.c commit 93d11085692eb428bb1cc44d7a24d2b28a74d222 diff: https://github.com/bitrig/bitrig/commit/93d1108 author: pedro martelletto <[email protected]> date: Sun Jan 25 08:57:13 2015 +0100 Fix crash in tmpfs_snap_load_cleanup(). XXX rework this; committing for test purposes only. M sys/tmpfs/tmpfs_snapshot.c commit c195b6f1205f9d0e978265ab7573444eef351596 diff: https://github.com/bitrig/bitrig/commit/c195b6f author: pedro martelletto <[email protected]> date: Sat Jan 24 17:02:16 2015 +0100 Simplify error handling. - Let tmpfs_snap_load_hdr() do tmpfs_free_node(). - Get rid of unnecessary goto's. - Fix a leak in tmpfs_snap_attach_node(). M sys/tmpfs/tmpfs_snapshot.c commit c9a9a3f8ba8f0a337bc2f8b254fd42d3e4ad8d62 diff: https://github.com/bitrig/bitrig/commit/c9a9a3f author: pedro martelletto <[email protected]> date: Sat Jan 24 16:56:20 2015 +0100 Handle error conditions gracefully in tmpfs_alloc_node(). Replace a few occurences of KASSERT() with checks followed by appropriate error handling. M sys/tmpfs/tmpfs_mem.c M sys/tmpfs/tmpfs_snapshot.c M sys/tmpfs/tmpfs_subr.c commit d29fcea11e7fe639e668565bd7e7bb1393a02151 diff: https://github.com/bitrig/bitrig/commit/d29fcea author: pedro martelletto <[email protected]> date: Sat Jan 24 16:40:50 2015 +0100 Initialise td_node in tmpfs_alloc_dirent(). If the allocation of a new node in tmpfs fails before td_node is set, tmpfs_free_dirent() will be called to dispose of the corresponding directory entry, and tmpfs_free_dirent() expects td_node to be NULL. Since these entries are retrieved from a pool without PR_ZERO, td_node needs to be explicitly set. M sys/tmpfs/tmpfs_subr.c
