diff options
Diffstat (limited to 'fs/pipe.c')
-rw-r--r-- | fs/pipe.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -99,8 +99,6 @@ static void anon_pipe_buf_release(struct pipe_inode_info *pipe, | |||
99 | { | 99 | { |
100 | struct page *page = buf->page; | 100 | struct page *page = buf->page; |
101 | 101 | ||
102 | buf->flags &= ~PIPE_BUF_FLAG_STOLEN; | ||
103 | |||
104 | /* | 102 | /* |
105 | * If nobody else uses this page, and we don't already have a | 103 | * If nobody else uses this page, and we don't already have a |
106 | * temporary page, let's keep track of it as a one-deep | 104 | * temporary page, let's keep track of it as a one-deep |
@@ -130,7 +128,6 @@ static int anon_pipe_buf_steal(struct pipe_inode_info *pipe, | |||
130 | struct page *page = buf->page; | 128 | struct page *page = buf->page; |
131 | 129 | ||
132 | if (page_count(page) == 1) { | 130 | if (page_count(page) == 1) { |
133 | buf->flags |= PIPE_BUF_FLAG_STOLEN; | ||
134 | lock_page(page); | 131 | lock_page(page); |
135 | return 0; | 132 | return 0; |
136 | } | 133 | } |