Merge branch 'page-refs' (page ref overflow)
[linux-2.6-block.git] / include / linux / pipe_fs_i.h
index 3f2a42c11e206e7702aae43021a4d25792039aaa..abb2dac3da9b9cf69b477c2d3726e019a0352b7a 100644 (file)
@@ -73,13 +73,6 @@ struct pipe_inode_info {
  * in fs/pipe.c for the pipe and generic variants of these hooks.
  */
 struct pipe_buf_operations {
-       /*
-        * This is set to 1, if the generic pipe read/write may coalesce
-        * data into an existing buffer. If this is set to 0, a new pipe
-        * page segment is always used for new data.
-        */
-       int can_merge;
-
        /*
         * ->confirm() verifies that the data in the pipe buffer is there
         * and that the contents are good. If the pages in the pipe belong
@@ -184,6 +177,7 @@ bool generic_pipe_buf_get(struct pipe_inode_info *, struct pipe_buffer *);
 int generic_pipe_buf_confirm(struct pipe_inode_info *, struct pipe_buffer *);
 int generic_pipe_buf_steal(struct pipe_inode_info *, struct pipe_buffer *);
 void generic_pipe_buf_release(struct pipe_inode_info *, struct pipe_buffer *);
+void pipe_buf_mark_unmergeable(struct pipe_buffer *buf);
 
 extern const struct pipe_buf_operations nosteal_pipe_buf_ops;