]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ubifs: Fix cut and paste error on sb type comparisons
authorColin Ian King <colin.king@canonical.com>
Fri, 7 Apr 2017 23:22:03 +0000 (00:22 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 8 May 2017 18:48:41 +0000 (20:48 +0200)
commit6a258f7d0fbd9f5e93099018741a7e64dd3a4578
treea504f827dd82ddf08eb6167afcec996bb05c084b
parent8a1435880f452430b41374d27ac4a33e7bd381ea
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>
fs/ubifs/debug.c