[parted-devel] [PATCH] dvh: factor out read_sector and use ptt_read_sector
Jim Meyering
jim at meyering.net
Thu Sep 29 11:20:37 UTC 2011
Petr Uzel wrote:
> * libparted/labels/dvh.c (read_sector): Factor out this function.
> (dvh_probe): Use ptt_read_sector instead of read_sector.
> (dvh_read): Likewise.
> ---
> libparted/labels/dvh.c | 26 ++++----------------------
> 1 files changed, 4 insertions(+), 22 deletions(-)
>
> diff --git a/libparted/labels/dvh.c b/libparted/labels/dvh.c
Thanks. That looks perfect and passed my tests, so I've pushed it.
More information about the parted-devel
mailing list