]> Git Repo - linux.git/commit
d_path: make 'prepend()' fill up the buffer exactly on overflow
authorLinus Torvalds <[email protected]>
Fri, 16 Jul 2021 21:01:12 +0000 (14:01 -0700)
committerLinus Torvalds <[email protected]>
Thu, 2 Sep 2021 17:07:29 +0000 (10:07 -0700)
commitb0cfcdd9b9672ea90642f33d6c0dd8516553adf2
tree0ca4b4fe991900a825e39d32a1c899cd051b826f
parent7661809d493b426e979f39ab512e3adf41fbcc69
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/d_path.c
This page took 0.054042 seconds and 4 git commands to generate.