mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
pipe: add pipe_buf_get() helper
Signed-off-by: Miklos Szeredi <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a7c2242166
commit
7bf2d1df80
3 changed files with 14 additions and 3 deletions
|
|
@ -1596,7 +1596,7 @@ retry:
|
|||
* Get a reference to this pipe buffer,
|
||||
* so we can copy the contents over.
|
||||
*/
|
||||
ibuf->ops->get(ipipe, ibuf);
|
||||
pipe_buf_get(ipipe, ibuf);
|
||||
*obuf = *ibuf;
|
||||
|
||||
/*
|
||||
|
|
@ -1668,7 +1668,7 @@ static int link_pipe(struct pipe_inode_info *ipipe,
|
|||
* Get a reference to this pipe buffer,
|
||||
* so we can copy the contents over.
|
||||
*/
|
||||
ibuf->ops->get(ipipe, ibuf);
|
||||
pipe_buf_get(ipipe, ibuf);
|
||||
|
||||
obuf = opipe->bufs + nbuf;
|
||||
*obuf = *ibuf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue