Re: [patch] exofs: fix endian conversion in exofs_sync_fs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 30, 2012 at 03:45:07PM +0200, Boaz Harrosh wrote:
> Do you mean this code:
> 	struct __alloc_ore_devs_and_exofs_devs {
> 		/* Twice bigger table: See exofs_init_comps() and comment at
> 		 * exofs_read_lookup_dev_table()
> 		 */
> =>		struct ore_dev *oreds[numdevs * 2 - 1];
> =>		struct exofs_dev eds[numdevs];
> 	} *aoded;
> 
> 
> If so than Sparse should be fixed. It is plain wrong. This complete
> structure is kmalloc(ed) two lines below.
> 

Oh yeah.  You are right.  I misread how that worked.

regards,
dan carpenter


Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux