Re: [U-Boot] [PATCH] ext4: assign get_fs()->dev_desc before using it

2013-05-24 Thread Tom Rini
On Thu, May 23, 2013 at 02:22:10PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 50ce4c0 "fs/ext4: Support device block sizes != 512 bytes" > modified ext4fs_set_blk_dev() to calculate total_sect based on > get_fs()->dev_desc->log2blksz rather than SECTOR_SIZE. However, this > v

[U-Boot] [PATCH] ext4: assign get_fs()->dev_desc before using it

2013-05-23 Thread Stephen Warren
From: Stephen Warren Commit 50ce4c0 "fs/ext4: Support device block sizes != 512 bytes" modified ext4fs_set_blk_dev() to calculate total_sect based on get_fs()->dev_desc->log2blksz rather than SECTOR_SIZE. However, this value wasn't yet assigned. Move the assignment earlier so the code doesn't cra