diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-12 20:29:15 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-18 12:28:26 +0300 |
commit | cfcf0ec84bee53799e1e393a48af5bdcf719a383 (patch) | |
tree | bb19ab17ad10e3b5717b6250032908e581b0d41b /drivers/mtd/ubi/vmt.c | |
parent | ffb6b7e4fdef715061859651fe46cd27afc6acec (diff) | |
download | blackbird-obmc-linux-cfcf0ec84bee53799e1e393a48af5bdcf719a383.tar.gz blackbird-obmc-linux-cfcf0ec84bee53799e1e393a48af5bdcf719a383.zip |
UBI: add dump_stack in checking code
I am experiencing an error in 'paranoid_check_volume()'. Add
dump_stack() there to make it easier to identify the reasons
of the error.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/vmt.c')
-rw-r--r-- | drivers/mtd/ubi/vmt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c index 419599d62b29..32c6ceb1a067 100644 --- a/drivers/mtd/ubi/vmt.c +++ b/drivers/mtd/ubi/vmt.c @@ -868,6 +868,7 @@ fail: if (vol) ubi_dbg_dump_vol_info(vol); ubi_dbg_dump_vtbl_record(&ubi->vtbl[vol_id], vol_id); + dump_stack(); spin_unlock(&ubi->volumes_lock); return -EINVAL; } |