bcl / parted

parted the partition editor
GNU General Public License v3.0
7 stars 2 forks source link

libparted: Remove fdasd geometry code from alloc_metadata (#1244833) #4

Closed bcl closed 8 years ago

bcl commented 8 years ago

dasd_alloc_metadata can be called in various contexts, and the arch_specific->fd may or may not be valid during these calls. It should not be using it, and as far as I can tell the code setting up fdasd_anchor doesn't actually do anything so remove it.

Resolves: rhbz#1244833