commit | a0fd59511e0a0514d24044a29da0f6144f8600e5 | [log] [tgz] |
---|---|---|
author | Daniel Golle <daniel@makrotopia.org> | Tue May 13 22:27:58 2014 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Tue May 27 15:23:40 2014 +0300 |
tree | 25cf5a83b7248faf7f77be12edbd7cb5c009c936 | |
parent | 151d6b21f973c585efa052b0ff0fab473ef47831 [diff] |
UBIFS: add missing ui pointer in debugging code If UBIFS_DEBUG is defined an additional assertion of the ui_lock spinlock in do_writepage cannot compile because the ui pointer has not been previously declared. Fix this by declaring and initializing the ui pointer in case UBIFS_DEBUG is defined. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>