From: Miklos Szeredi Date: Wed, 22 Jan 2014 18:36:57 +0000 (+0100) Subject: fuse: fix pipe_buf_operations X-Git-Tag: v3.14-rc1~121^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a625cbc2a14f17b83e47ef907b2658576a32aa;p=pandora-kernel.git fuse: fix pipe_buf_operations Having this struct in module memory could Oops when if the module is unloaded while the buffer still persists in a pipe. Since sock_pipe_buf_ops is essentially the same as fuse_dev_pipe_buf_steal merge them into nosteal_pipe_buf_ops (this is the same as default_pipe_buf_ops except stealing the page from the buffer is not allowed). Reported-by: Al Viro Signed-off-by: Miklos Szeredi Cc: stable@vger.kernel.org --- Reading git-diff-tree failed