fs: ubifs: Do not free memory not allocated by ubifs
Since the switch to dentry cache implementation we no longer allocate
the super block, so we must not free it in the error path.

Fixes: ("4d2b23bcf9 fs: ubifs: Switch to dentry cache implementation")

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9ad58a9 commit 55882cdd3aba18f088e663a16254e3ec3322421c
@Sascha Hauer Sascha Hauer authored on 28 Sep 2018
Showing 1 changed file
View
fs/ubifs/super.c