]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
UBIFS: Missing offset relocation for compressor 'none'
authorMichael Lawnick <ml.lawnick@gmx.de>
Thu, 19 Mar 2009 09:06:41 +0000 (10:06 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:15 +0000 (22:39 +0100)
commitfaac4fd852e39cb1d7a740801b060e41aeacef1f
tree1a2c83425fd46ef1bb3de595b6edfa07abf1de5b
parentce6d0c8de031f345bde745f3b855082adf1c4e45
UBIFS: Missing offset relocation for compressor 'none'

On systems where U-Boot is linked to another address than it really lays
(e.g. backup image), calls via function pointers must be fixed with a
'+= gd->reloc_off'.
This was not done for none_compr in ubifs_compressors_init() what leads
to system crash on ubifsmount command.

Signed-off-by: Michael Lawnick <ml.lawnick@gmx.de>
Acked-by: Stefan Roese <sr@denx.de>
fs/ubifs/ubifs.c