the bitrig pedro_tmpfs branch has been created by pedro. it is 0 commits behind master, and 3 commits ahead.
commit 0d575fe0aea5ffb326040b58d6a0fd28d7718fbb diff: https://github.com/bitrig/bitrig/commit/0d575fe 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 0f0de919122ed4a158aa65a1bde021ae95f7b78b diff: https://github.com/bitrig/bitrig/commit/0f0de91 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 31b9af863317b8f2c5a106b6c69b1cc8e0121ad5 diff: https://github.com/bitrig/bitrig/commit/31b9af8 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
