summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/lpt.c
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-06-11 10:40:10 +0800
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-19 09:53:51 +0300
commit5a95741a574f69c8219d3164d1fbf1c855566afe (patch)
treed162ae6e5ccd57731a3801e83483ba6d9ba51fe2 /fs/ubifs/lpt.c
parent033ead8230c2cf9cdc2d6e1148bfdf5674012a9c (diff)
downloadlinux-stable-5a95741a574f69c8219d3164d1fbf1c855566afe.tar.gz
linux-stable-5a95741a574f69c8219d3164d1fbf1c855566afe.tar.bz2
linux-stable-5a95741a574f69c8219d3164d1fbf1c855566afe.zip
UBIFS: fix error handling in dump_lpt_leb()
This patch checks the return value of 'ubifs_unpack_nnode()'. If this function returns an error, 'nnode' may not be initialized, so just print an error message and break. Signed-off-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/lpt.c')
0 files changed, 0 insertions, 0 deletions