diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-05-23 10:22:10 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-24 10:04:23 -0400 |
commit | c28cbfa1a89cae2c0cb13144c8123345d61fdc87 (patch) | |
tree | 0f39e0b94f74e9823bbc3cc7c845ac5e360d44a4 /include/miiphy.h | |
parent | 24c185cf58a5bef1e0401a0f7e70526d6d9078c7 (diff) | |
download | u-boot-imx-c28cbfa1a89cae2c0cb13144c8123345d61fdc87.zip u-boot-imx-c28cbfa1a89cae2c0cb13144c8123345d61fdc87.tar.gz u-boot-imx-c28cbfa1a89cae2c0cb13144c8123345d61fdc87.tar.bz2 |
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>
Diffstat (limited to 'include/miiphy.h')
0 files changed, 0 insertions, 0 deletions