[Cluster-devel] [PATCH RHEL6] gfs2_edit: Fix savemeta compression for older zlibs

2011-06-15 Thread Andrew Price
gzdopen in zlib 1.2.3 parses the mode string in a different way to subsequent versions and the mode string we use causes the older gzwrite to fail with EBADF. This patch fixes the mode string so that the gzwrites succeed with the old and new zlibs. rhbz#702313 Signed-off-by: Andrew Price

Re: [Cluster-devel] [PATCH RHEL6] gfs2_edit: Fix savemeta compression for older zlibs

2011-06-15 Thread Steven Whitehouse
Hi, Looks good, Steve. On Wed, 2011-06-15 at 14:10 +0100, Andrew Price wrote: gzdopen in zlib 1.2.3 parses the mode string in a different way to subsequent versions and the mode string we use causes the older gzwrite to fail with EBADF. This patch fixes the mode string so that the gzwrites