From: Christoph Hellwig Date: Sun, 25 Jan 2009 04:57:24 +0000 (+0100) Subject: xfs_io: fix comment in bmap.c X-Git-Tag: v3.0.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b52c69175b16850ed5104486bf041406fa229db;p=thirdparty%2Fxfsprogs-dev.git xfs_io: fix comment in bmap.c Based on a patch from Tomasz Majkowski in bugzilla #785. Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen Reviewed-by: Felix Blyakher --- diff --git a/io/bmap.c b/io/bmap.c index be833be17..db1496ccc 100644 --- a/io/bmap.c +++ b/io/bmap.c @@ -140,7 +140,7 @@ bmap_f( } } - map_size = nflag ? nflag+2 : 32; /* initial guess - 256 */ + map_size = nflag ? nflag+2 : 32; /* initial guess - 32 */ map = malloc(map_size*sizeof(*map)); if (map == NULL) { fprintf(stderr, _("%s: malloc of %d bytes failed.\n"), @@ -151,7 +151,7 @@ bmap_f( /* Try the xfsctl(XFS_IOC_GETBMAPX) for the number of extents specified - * by nflag, or the initial guess number of extents (256). + * by nflag, or the initial guess number of extents (32). * * If there are more extents than we guessed, use xfsctl * (XFS_IOC_FSGETXATTR[A]) to get the extent count, realloc some more