1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.

This commit is contained in:
Patrick Caulfield 2007-08-23 12:19:13 +00:00
parent 3b3948f1d2
commit 88fc506bf0
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.28 -
================================
Fix clvmd -R, so it fully refreshes the caches.
Change lvconvert_mirrors to use mirror segtype not striped.
Fix lvconvert_mirrors detection of number of existing mirrors.
Clean up numerous compiler warnings that crept in recently.

View File

@ -442,9 +442,14 @@ int do_check_lvm1(const char *vgname)
int do_refresh_cache()
{
int ret;
DEBUGLOG("Refreshing context\n");
log_notice("Refreshing context");
return refresh_toolcontext(cmd)==1?0:-1;
ret = refresh_toolcontext(cmd);
init_full_scan_done(0);
return ret==1?0:-1;
}