mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-27 18:04:20 +03:00
e7bb508809
The previous commit de2863739f2ea17d89d0e442379109f967b5919d scan: use full md filter when md 1.0 devices are present needs the use_full_md_check flag in the md filter, but the cmd struct is not available when the filter is run, so that commit wasn't working. Fix this by setting the flag in a global variable. (This was fixed in the master branch with commit 8eab37593 in which the cmd struct was passed to the filters, but it was an intrusive change, so this commit is using the less intrusive global variable.)