Unverified Commit 6f86f146 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files
parent 8c32b87c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -747,8 +747,7 @@ static int z_erofs_register_pcluster(struct z_erofs_decompress_frontend *fe)
	if (IS_ERR(pcl))
		return PTR_ERR(pcl);

	spin_lock_init(&pcl->lockref.lock);
	pcl->lockref.count = 1;		/* one ref for this request */
	lockref_init(&pcl->lockref, 1); /* one ref for this request */
	pcl->algorithmformat = map->m_algorithmformat;
	pcl->length = 0;
	pcl->partial = true;