diff options
author | Kees Cook <keescook@chromium.org> | 2017-03-05 07:57:26 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-03-07 23:00:58 +0100 |
commit | 2a2b0acf768cfb2a9cf6c3b42b0e0eb25cbb5814 (patch) | |
tree | 7dedc0d9e48c55ab0a780cece74328cc6905fe1d /fs/afs/dir.c | |
parent | pstore: Pass record contents instead of copying (diff) | |
download | linux-2a2b0acf768cfb2a9cf6c3b42b0e0eb25cbb5814.tar.xz linux-2a2b0acf768cfb2a9cf6c3b42b0e0eb25cbb5814.zip |
pstore: Allocate records on heap instead of stack
In preparation for handling records off to pstore_mkfile(), allocate the
record instead of reusing stack. This still always frees the record,
though, since pstore_mkfile() isn't yet keeping it.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/afs/dir.c')
0 files changed, 0 insertions, 0 deletions