]> arthur.barton.de Git - bup.git/commit
Use the correct types when calling FS_IOC_GETFLAGS/FS_IOC_SETFLAGS.
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 28 Nov 2013 18:36:16 +0000 (12:36 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 29 Nov 2013 04:30:23 +0000 (22:30 -0600)
commit1abcd59349d1409a88b80abf56decd894849e57d
tree4920b136dbd0b51c7c9f420da595841cf6f7284b
parent55b24dc3ce7334d7a6f7e5978a2573298866e324
Use the correct types when calling FS_IOC_GETFLAGS/FS_IOC_SETFLAGS.

Despite the definitions in <linux/fs.h> these ioctls take int
arguments, not longs. This is important for 64-bit big endian
machines.

See http://marc.info/?l=linux-fsdevel&m=138552482917220&w=2

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
[rlb@defaultvalue.org: adjust commit message; use "I" conversion
 to/from Python instead of "k".]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c