Please sign in to comment.
fs: prevent page refcount overflow in pipe_buf_get
Change pipe_buf_get() to return a bool indicating whether it succeeded in raising the refcount of the page (if the thing in the pipe is a page). This removes another mechanism for overflowing the page refcount. All callers converted to handle a failure. Reported-by: Jann Horn <email@example.com> Signed-off-by: Matthew Wilcox <firstname.lastname@example.org> Cc: email@example.com Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...
Showing with 29 additions and 15 deletions.