Re: [PATCH] dm-path-selector: fix refcount corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 5, 2009, at 6:51 AM, Jun'ichi Nomura wrote:

@@ -136,11 +126,6 @@ int dm_unregister_path_selector(struct p
		return -EINVAL;
	}

-	if (psi->use) {
-		up_write(&_ps_lock);
-		return -ETXTBSY;
-	}
-
	list_del(&psi->list);


We still need this in some form, don't we? Like 'if (module_refcount...'?

 brassow

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux