On 08/31/2012 06:00 PM, Wanlong Gao wrote:
New api mke2fs for full configuration of filesystem.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- daemon/ext2.c | 452 +++++++++++++++++++++++++++++++++++++++++ generator/generator_actions.ml | 18 ++ gobject/Makefile.inc | 6 +- src/MAX_PROC_NR | 2 +- 4 files changed, 475 insertions(+), 3 deletions(-)
Hi Rich, I got the following error when compiling with this patch, it seems that the long typed optargs_bitmask can't accept more than 31 optional arguments, it's odd ? This mke2fs api has about 43 optional arguments, so 64bit typed optargs_bitmask is enough, but why does long type limit the arguments to 31? ./com/redhat/et/libguestfs/GuestFS.java:14731: error: integer number too large: 2147483648 _optargs_bitmask |= 2147483648; ^ Thanks, Wanlong Gao