[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0810221838020.5634@vixen.sonytel.be>
Date: Wed, 22 Oct 2008 18:38:34 +0200 (CEST)
From: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
To: Phillip Lougher <phillip@...gher.demon.co.uk>
cc: akpm@...ux-foundation.org, linux-embedded@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
tim.bird@...sony.com
Subject: Re: Subject: [PATCH 09/16] Squashfs: uid/gid lookup operations
On Fri, 17 Oct 2008, Phillip Lougher wrote:
> --- /dev/null
> +++ b/fs/squashfs/id.c
> +__le64 *read_id_index_table(struct super_block *s, long long id_table_start,
> + unsigned short no_ids)
> +{
> + unsigned int length = SQUASHFS_ID_BLOCK_BYTES(no_ids);
> + __le64 *id_table;
> +
> + TRACE("In read_id_index_table, length %d\n", length);
> +
> + /* Allocate id index table */
> + id_table = kmalloc(length, GFP_KERNEL);
^^^^^^
Can this ever be larger than 64 KiB?
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@...ycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
Powered by blists - more mailing lists