aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/tnc.c
diff options
context:
space:
mode:
authorGravatar hujianyang <hujianyang@huawei.com> 2014-06-11 10:40:10 +0800
committerGravatar Artem Bityutskiy <artem.bityutskiy@linux.intel.com> 2014-07-19 09:53:51 +0300
commit5a95741a574f69c8219d3164d1fbf1c855566afe (patch)
treed162ae6e5ccd57731a3801e83483ba6d9ba51fe2 /fs/ubifs/tnc.c
parentMerge tag 'upstream-3.16-rc6' of git://git.infradead.org/linux-ubifs (diff)
downloadlinux-5a95741a574f69c8219d3164d1fbf1c855566afe.tar.gz
linux-5a95741a574f69c8219d3164d1fbf1c855566afe.tar.bz2
linux-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/tnc.c')
0 files changed, 0 insertions, 0 deletions