rem: bootfs_seek(fs_cookie _fs, fs_vnode _v, file_cookie _cookie, off_t pos, int seekType)
add: bootfs_seek(fs_volume _fs, fs_vnode _v, fs_cookie _cookie, off_t pos, int seekType)
context: bootfs_seek(fs_cookie _fs, fs_vnode _v, file_cookie _cookie, off_t pos, int seekType){	struct bootfs *fs = _fs;	struct bootfs_vnode *v = _v;	struct bootfs_cookie *cookie = _cookie;	status_t err = B_OK;	TRACE(("bootfs_seek: vnode %p, cookie %p, pos 0x%Lx , seek_type %d\n", v, cookie, pos, seekType));	if (cookie->s->type != STREAM_TYPE_FILE)		return EINVAL;	mutex_lock(&fs->lock);	switch (seekType) {		case SEEK_SET:			if (pos < 0)				pos = 0;			if (pos > cookie->s->u.file.len)				pos = cookie->s->u.file.len;			cookie->u.file.pos = pos;			break;		case SEEK_CUR:			if (pos + cookie->u.file.pos > cookie->s->u.file.len)				pos = cookie->s->u.file.len;			else if (pos + cookie->u.file.pos < 0)				pos = 0;			else				pos += cookie->u.file.pos;			break;		case SEEK_END:			if (pos > 0)				pos = cookie->s->u.file.len;			else if (pos + cookie->s->u.file.len < 0)				pos = 0;			else				pos += cookie->s->u.file.len;			break;		default:			err = EINVAL;	}	if (err == B_OK)		cookie->u.file.pos = pos;	mutex_unlock(&fs->lock);	if (err < B_OK)		return err;	return pos;}