[PATCH 1/1] btrfs-progs: fix compiler warning

2014-06-05 Thread Christian Hesse
gcc 4.9.0 gives warnings about possibly uninitialized values when compiling with function inlining and optimization level two enabled (CFLAGS=-finline-functions -O2). Initializing the values fixes the warning. Hope this is correct. Signed-off-by: Christian Hesse m...@eworm.de --- cmds-send.c

Re: [PATCH 1/1] btrfs-progs: fix compiler warning

2014-06-05 Thread Christian Hesse
David Sterba dste...@suse.cz on Wed, 2014/06/04 18:44: On Wed, Jun 04, 2014 at 09:19:26AM +0200, Christian Hesse wrote: It seems to be related to default gcc flags from distribution? Probably. I did compile with optimization, so adding -O2 may do the trick: make CFLAGS=${CFLAGS} -O2

Re: [PATCH 1/1] btrfs-progs: fix compiler warning

2014-06-04 Thread Christian Hesse
Qu Wenruo quwen...@cn.fujitsu.com on Wed, 2014/06/04 14:48: Original Message Subject: [PATCH 1/1] btrfs-progs: fix compiler warning From: Christian Hesse m...@eworm.de To: linux-btrfs@vger.kernel.org Date: 2014年06月03日 19:29 gcc 4.9.0 gives a warning: array subscript

[PATCH 1/1] btrfs-progs: fix build, manpage compression command

2014-06-03 Thread Christian Hesse
by explicit command line parameters. So using any other variable name fixes this. Signed-off-by: Christian Hesse m...@eworm.de --- Documentation/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 45299bb..e79dd8f

[PATCH 1/1] btrfs-progs: fix compiler warning

2014-06-03 Thread Christian Hesse
gcc 4.9.0 gives a warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘u64’ Using %llu and casting to unsigned long long (same as bytenr) fixes this. Signed-off-by: Christian Hesse m...@eworm.de --- btrfs-select-super.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 1/1] btrfs-progs: fix build, manpage compression command

2014-06-03 Thread Christian Hesse
David Sterba dste...@suse.cz on Tue, 2014/06/03 11:14: On Tue, Jun 03, 2014 at 08:09:25AM +0200, Christian Hesse wrote: man pages for btrfs-progs are compressed by gzip by default. In Makefile the variable GZIP is use, this evaluates to 'gzip gzip' on my system. From man gzip

Re: [PATCH 1/1] btrfs-progs: fix compiler warning

2014-06-03 Thread Christian Hesse
David Sterba dste...@suse.cz on Tue, 2014/06/03 18:52: On Tue, Jun 03, 2014 at 01:29:19PM +0200, Christian Hesse wrote: gcc 4.9.0 gives a warning: array subscript is above array bounds Checking for greater or equal instead of just equal fixes this. That fixes the warning, but I don't

fix btrfs-progs build

2012-10-08 Thread Christian Hesse
Hello everybody, man pages for btrfs-progs are compressed by gzip by default. In Makefile the variable GZIP is use, this evaluates to 'gzip gzip' on my system. From man gzip: The environment variable GZIP can hold a set of default options for gzip. These options are interpreted first and can

Re: fix btrfs-progs build

2012-10-08 Thread Christian Hesse
Chris Mason chris.ma...@fusionio.com on Mon, 2012/10/08 10:29: On Mon, Oct 08, 2012 at 08:17:13AM -0600, Christian Hesse wrote: Hello everybody, man pages for btrfs-progs are compressed by gzip by default. In Makefile the variable GZIP is use, this evaluates to 'gzip gzip' on my system

Re: fix btrfs-progs build

2012-10-08 Thread Christian Hesse
Chris Mason chris.ma...@fusionio.com on Mon, 2012/10/08 10:33: On Mon, Oct 08, 2012 at 08:30:31AM -0600, Christian Hesse wrote: Chris Mason chris.ma...@fusionio.com on Mon, 2012/10/08 10:29: On Mon, Oct 08, 2012 at 08:17:13AM -0600, Christian Hesse wrote: Hello everybody, man

Re: New btrfsck status

2011-06-06 Thread Christian Hesse
Chris Mason on 10 Feb 13:17: Excerpts from Ben Gamari's message of 2011-02-09 21:52:20 -0500: Over the last several months there have been many claims regarding the release of the rewritten btrfsck. Unfortunately, despite numerous claims that it will be released Real Soon Now(c), I have

missing include in btrfsck.c

2010-05-31 Thread Christian Hesse
Hello everybody, compiling btrfs-progs from current git I get an error in btrfsck.c about undefined references. The attached patch adds an include for sys/stat.h which fixes the problem for me. Regards, Chris Signed-off-by: Christian Hesse m...@earthworm.de --- btrfsck.c 2010-05-31 15:24

sysreccd with btrfs support

2009-01-18 Thread Christian Hesse
Hi everybody, we have a live cd with up to date btrfs support now! I mailed Francois and prepared some packages, he included it in the beta6 of his sysreccd. So go and get it: http://sysresccd.org/Beta-x86 Thanks a lot to Francois for his work! If anybody is interested in testing btrfs with

Re: build error on 2.6.27

2009-01-12 Thread Christian Hesse
On Monday 12 January 2009, Gabor MICSKO wrote: Hi, Since commit eecac8a148137ec5c519fc536effce8d6be89ec8 ( HEAD is now at eecac8a... Btrfs: drop remaining LINUX_KERNEL_VERSION checks and compat code ) btrfs kernel module failed to compile on 2.6.27. Older kernel versions not supported

Re: [PATCH] compile when posix acl's are disabled

2008-08-12 Thread Christian Hesse
On Tuesday 12 August 2008, Josef Bacik wrote: Hello, This patch makes btrfs so it will compile properly when acls are disabled. I tested this and it worked with CONFIG_FS_POSIX_ACL off and on. Thanks much, Works perfectly. Thanks a lot! -- Regards, Chris -- To unsubscribe from this list: