aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-06-14 07:10:48 -0400
committerJens Axboe <jens.axboe@oracle.com>2007-07-10 02:04:15 -0400
commitcac36bb06efe4880234524e117e0e712b10b1f16 (patch)
tree5220c6f2185cee1c6934cf8048975beac5bc94bb /kernel
parentd96e6e71647846e0dab097efd9b8bf3a3a556dca (diff)
pipe: change the ->pin() operation to ->confirm()
The name 'pin' was badly chosen, it doesn't pin a pipe buffer in the most commonly used sense in the kernel. So change the name to 'confirm', after debating this issue with Hugh Dickins a bit. A good return from ->confirm() means that the buffer is really there, and that the contents are good. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/relay.c b/kernel/relay.c
index dd3bc5b69035..3b299fb3855c 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -1055,7 +1055,7 @@ static struct pipe_buf_operations relay_pipe_buf_ops = {
1055 .can_merge = 0, 1055 .can_merge = 0,
1056 .map = generic_pipe_buf_map, 1056 .map = generic_pipe_buf_map,
1057 .unmap = generic_pipe_buf_unmap, 1057 .unmap = generic_pipe_buf_unmap,
1058 .pin = generic_pipe_buf_pin, 1058 .confirm = generic_pipe_buf_confirm,
1059 .release = relay_pipe_buf_release, 1059 .release = relay_pipe_buf_release,
1060 .steal = generic_pipe_buf_steal, 1060 .steal = generic_pipe_buf_steal,
1061 .get = generic_pipe_buf_get, 1061 .get = generic_pipe_buf_get,