[lvm-devel] LVM2 ./WHATS_NEW ./WHATS_NEW_DM libdm/libdm-de ...
Alasdair G Kergon
agk at redhat.com
Mon Apr 19 23:25:10 UTC 2010
On Mon, Apr 19, 2010 at 06:38:20PM -0400, Mike Snitzer wrote:
> On Wed, Apr 07 2010 at 4:04pm -0400,
> agk at sourceware.org <agk at sourceware.org> wrote:
> > /* Refresh open_count */
> > if (!_info_by_dev(dinfo->major, dinfo->minor, 1, &info) ||
> > - !info.exists || info.open_count)
> > + !info.exists)
> > continue;
> >
> > + if (info.open_count) {
> It would appear that the non-zero open_count associated with the -real
> device is stale (during lvremove's dm_tree_deactivate_children).
Shouldn't be - it follows a 'refresh'.
Alasdair
More information about the lvm-devel
mailing list