summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/lprops.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-06 16:08:56 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-13 18:23:57 +0200
commiteaeee242c531cd4b0a4a46e8b5dd7ef504380c42 (patch)
tree7009f5a79dd67d5eb29140b8cfe4c9dc11dfcae7 /fs/ubifs/lprops.c
parentUBIFS: fix inode size debugging check failure (diff)
downloadlinux-eaeee242c531cd4b0a4a46e8b5dd7ef504380c42.tar.xz
linux-eaeee242c531cd4b0a4a46e8b5dd7ef504380c42.zip
UBIFS: fix a rare memory leak in ro to rw remounting path
When re-mounting from R/O mode to R/W mode and the LEB count in the superblock is not up-to date, because for the underlying UBI volume became larger, we re-write the superblock. We allocate RAM for these purposes, but never free it. So this is a memory leak, although very rare one. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Cc: stable@kernel.org
Diffstat (limited to 'fs/ubifs/lprops.c')
0 files changed, 0 insertions, 0 deletions