Call tmpfs_dir_detach() with the correct parameter.
tmpfs_snap_load() already frees all the nodes, so don't try to free the
root node here.
Fixed.