summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-12-30 20:48:10 +0100
committerKees Cook <keescook@chromium.org>2020-01-02 21:30:39 +0100
commit8df955a32a73315055e0cd187cbb1cea5820394b (patch)
tree51a54cdb8074c25a8a5aca178624e0542d649f7a /fs/mount.h
parentLinux 5.5-rc2 (diff)
downloadlinux-8df955a32a73315055e0cd187cbb1cea5820394b.tar.xz
linux-8df955a32a73315055e0cd187cbb1cea5820394b.zip
pstore/ram: Fix error-path memory leak in persistent_ram_new() callers
For callers that allocated a label for persistent_ram_new(), if the call fails, they must clean up the allocation. Suggested-by: Navid Emamdoost <navid.emamdoost@gmail.com> Fixes: 1227daa43bce ("pstore/ram: Clarify resource reservation labels") Cc: stable@vger.kernel.org Link: https://lore.kernel.org/lkml/20191211191353.14385-1-navid.emamdoost@gmail.com Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions