diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-17 00:01:12 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-02 20:07:29 +0300 |
commit | b0cfcdd9b9672ea90642f33d6c0dd8516553adf2 (patch) | |
tree | 0ca4b4fe991900a825e39d32a1c899cd051b826f /kernel/user_namespace.c | |
parent | 7661809d493b426e979f39ab512e3adf41fbcc69 (diff) | |
download | linux-b0cfcdd9b9672ea90642f33d6c0dd8516553adf2.tar.xz |
d_path: make 'prepend()' fill up the buffer exactly on overflow
Instead of just marking the buffer as having overflowed, fill it up as
much as we can. That will allow the overflow case to then return
whatever truncated result if it wants to.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions