Skip to content
Commit b0cfcdd9 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7661809d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment