VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-07 11:03:45 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-07 11:03:45 -0700 commit: cd1adf1b63a112d762832e9c64b0a886fbb840d6 parent: 4b93c544e90e2b28326182d31ee008eb80e02074
Commit Summary:
Revert "mm/gup: remove try_get_page(), call try_get_compound_head() directly"
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/pipe.c b/fs/pipe.c
index 1fa1f52763f0..6d4342bad9f1 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -191,7 +191,7 @@ EXPORT_SYMBOL(generic_pipe_buf_try_steal);
  */
 bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf)
 {
-	return try_get_compound_head(buf->page, 1);
+	return try_get_page(buf->page);
 }
 EXPORT_SYMBOL(generic_pipe_buf_get);