]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
Rename 'pipe_info()' to 'get_pipe_info()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 28 Nov 2010 21:56:09 +0000 (13:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 28 Nov 2010 21:56:09 +0000 (13:56 -0800)
commit71993e62a47dabddf10302807d6aa260455503f4
treef898f046fdfeab8f329b030614d36a3d4bc490fe
parenta9e40a2493d805224f900d839b06188639b7ccd6
Rename 'pipe_info()' to 'get_pipe_info()'

.. and change it to take the 'file' pointer instead of an inode, since
that's what all users want anyway.

The renaming is preparatory to exporting it to other users.  The old
'pipe_info()' name was too generic and is already used elsewhere, so
before making the function public we need to use a more specific name.

Cc: Jens Axboe <jaxboe@fusionio.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/splice.c