]> arthur.barton.de Git - bup.git/commit
Handle kernel/FUSE disagreement over Linux attrs
authorRob Browning <rlb@defaultvalue.org>
Tue, 29 Jul 2014 20:35:07 +0000 (15:35 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Aug 2014 19:54:56 +0000 (14:54 -0500)
commitad8ec2cb2781114af06968766c58776ed7ce20e8
tree264b5d902b967880ff1ca80acefc58c87177c0c3
parent460ca2979be5fb6ba5d9c77af2b65afd3359cb61
Handle kernel/FUSE disagreement over Linux attrs

Use long for the Linux attr type, so that it should work on all
little-endian systems, across both normal and FUSE-backed filesystems.

Disable Linux attr support for now on big-endian systems where
sizeof(long) > sizeof(int).  See the changes to bup-index.md and
_helpers.c for more information.

Eventually, we may want to add an argument to allow re-enabling
support on affected systems, when the user can guarantee a homogeneous
filesystem type -- or better yet, the kernel and FUSE will finally
sort out their issues.

Thanks to Tilo Schwarz <mail@tilo-schwarz.de> and daryl5@arcor.de for
reporting and pursuing the problems that lead to this patch.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-index.md
lib/bup/_helpers.c
lib/bup/metadata.py