rem: status_t status;  mount = get_mount(device); if (mount == NULL) return B_BAD_VALUE;
add: status_t status = get_mount(device, &mount); if (status < B_OK) return status;
context: fs_write_info(dev_t device, const struct fs_info *info, int mask){	struct fs_mount *mount;	status_t status;	mount = get_mount(device);	if (mount == NULL)		return B_BAD_VALUE;	if (FS_MOUNT_CALL(mount, write_fs_info))		status = FS_MOUNT_CALL(mount, write_fs_info)(mount->cookie, info, mask);	else		status = EROFS;	put_mount(mount);	return status;}