u-boot/fs/ext4
Stephen Warren c28cbfa1a8 ext4: assign get_fs()->dev_desc before using it
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 crash or hang.

Cc: Egbert Eich <eich@suse.com>
Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2013-05-24 10:04:23 -04:00
..
crc16.c ext4fs write support 2012-08-09 23:48:02 +02:00
crc16.h ext4fs write support 2012-08-09 23:48:02 +02:00
dev.c ext4: assign get_fs()->dev_desc before using it 2013-05-24 10:04:23 -04:00
ext4_common.c fs/ext4: Support device block sizes != 512 bytes 2013-05-10 08:16:33 -04:00
ext4_common.h fs/ext4: Support device block sizes != 512 bytes 2013-05-10 08:16:33 -04:00
ext4_journal.c fs/ext4: Support device block sizes != 512 bytes 2013-05-10 08:16:33 -04:00
ext4_journal.h ext4fs write support 2012-08-09 23:48:02 +02:00
ext4_write.c fs/ext4: Support device block sizes != 512 bytes 2013-05-10 08:16:33 -04:00
ext4fs.c fs/ext4: Support device block sizes != 512 bytes 2013-05-10 08:16:33 -04:00
Makefile ext4: Split write support into its own file 2013-03-04 14:19:56 -05:00