diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-04-08 01:22:03 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-05-08 20:48:41 +0200 |
commit | 6a258f7d0fbd9f5e93099018741a7e64dd3a4578 (patch) | |
tree | a504f827dd82ddf08eb6167afcec996bb05c084b /fs/ubifs/recovery.c | |
parent | ubi: fastmap: Fix slab corruption (diff) | |
download | linux-6a258f7d0fbd9f5e93099018741a7e64dd3a4578.tar.xz linux-6a258f7d0fbd9f5e93099018741a7e64dd3a4578.zip |
ubifs: Fix cut and paste error on sb type comparisons
The check for the bad node type of sb->type is checking sa->type
and not sb-type. This looks like a cut and paste error. Fix this.
Detected by PVS-Studio, warning: V581
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/recovery.c')
0 files changed, 0 insertions, 0 deletions