]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: fix remount error path
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 7 Apr 2014 10:39:06 +0000 (13:39 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 5 May 2014 06:31:33 +0000 (09:31 +0300)
commit4016e4101ea4e6a764624f639081a28510f4dfa5
treee1fee915497b3efa4f1ab3397de974062ff9dc35
parent2c817f63c13b0fd655bd0f4977eb236726cc7dec
UBIFS: fix remount error path

Dan's "smatch" checker found out that there was a bug in the error path of the
'ubifs_remount_rw()' function. Instead of jumping to the "out" label which
cleans-things up, we just returned.

This patch fixes the problem.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/super.c