Bug 24885 - LVM LVs now have NOPOLICY=0
LVM LVs now have NOPOLICY=0
Product: udisks
Classification: Unclassified
Component: detection
Other All
: medium normal
Assigned To: David Zeuthen (not reading bugmail)
Depends on:
  Show dependency treegraph
Reported: 2009-11-03 12:58 UTC by Martin Pitt
Modified: 2009-11-03 13:02 UTC (History)
0 users

See Also:

git formatted patch (2.02 KB, patch)
2009-11-03 12:59 UTC, Martin Pitt
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pitt 2009-11-03 12:58:17 UTC
Test suite caught a regression for LVM LV handling: Commit a95d3 caused the NOPOLICY rules get cut short for LVs, so that they now end up as NOPOLICY=0.

I propose to move the NOPOLICY check close to the top, since its (1) very cheap, and (2) very generic, i. e. rules further down might want to tweak it for special cases.
Comment 1 Martin Pitt 2009-11-03 12:59:45 UTC
Created attachment 30946 [details] [review]
git formatted patch
Comment 2 David Zeuthen (not reading bugmail) 2009-11-03 13:02:33 UTC
Committed, thanks!