+tmpfs_snap_file_io(), reshuffle code