rem: rootfs_read_dir(fs_cookie _fs, fs_vnode _vnode, file_cookie _cookie, struct dirent *dirent, size_t bufferSize, uint32 *_num)
add: rootfs_read_dir(fs_volume _fs, fs_vnode _vnode, fs_cookie _cookie, struct dirent *dirent, size_t bufferSize, uint32 *_num)
context: rootfs_read_dir(fs_cookie _fs, fs_vnode _vnode, file_cookie _cookie, struct dirent *dirent, size_t bufferSize, uint32 *_num){	struct rootfs_cookie *cookie = _cookie;	struct rootfs *fs = _fs;	status_t status = 0;	TRACE(("rootfs_read_dir: vnode %p, cookie %p, buffer = %p, bufferSize = %ld, num = %p\n", _vnode, cookie, dirent, bufferSize,_num));	mutex_lock(&fs->lock);	if (cookie->ptr == NULL) {		// we're at the end of the directory		*_num = 0;		status = B_OK;		goto err;	}	dirent->d_dev = fs->id;	dirent->d_ino = cookie->ptr->id;	dirent->d_reclen = strlen(cookie->ptr->name);	if (sizeof(struct dirent) + dirent->d_reclen + 1 > bufferSize) {		status = ERR_VFS_INSUFFICIENT_BUF;		goto err;	}	status = user_strcpy(dirent->d_name, cookie->ptr->name);	if (status < 0)		goto err;	cookie->ptr = cookie->ptr->dir_next;err:	mutex_unlock(&fs->lock);	return status;}