OSDN Git Service

device mapper clean-up: remove #ifdefs, plug a leak
authorJim Meyering <meyering@redhat.com>
Fri, 6 Jun 2008 08:10:02 +0000 (10:10 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 6 Jun 2008 11:36:36 +0000 (13:36 +0200)
commit8abbd2a33c6b9b739176985a4adad833ac5e91d3
tree0dfc843c2c9705052314a80697a62293d4271f1e
parente73896bcc06066380ef1b637ed3057f923bbf225
device mapper clean-up: remove #ifdefs, plug a leak

* libparted/arch/linux.c: Remove some #ifdef ENABLE_DEVICE_MAPPER
directives.
* include/parted/device.h (struct _PedDevice) [dmtype]: Likewise.
* libparted/arch/linux.c (linux_new): Plug a leak.
include/parted/device.h
libparted/arch/linux.c