summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs/hashtable/hashtable.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 14:40:05 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 14:44:24 +0100
commitaa2c234ecb512bc4fc52fa1601377c31dfb58552 (patch)
treeee6fae146bfde2b45161b0de81c62127c73461ba /ubifs-utils/mkfs.ubifs/hashtable/hashtable.c
parent46c16855b1bed2704549d834acd2e9812ff3bf1e (diff)
mkfs.ubifs: abort add_directory if readdir fails
The existing code sets 'err' to -1 and breaks the readdir loop, but the error state is never read. This patch modifies the readdir loop to actualy jump to the error handling branch if readdir fails. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/hashtable/hashtable.c')
0 files changed, 0 insertions, 0 deletions