]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:36 +0000 (13:33 -0800)
commit68fadbe6fcf982e8c14865082b0d09c939baf8db
tree0cd33a3f3eeeac8955cda8a53528f5b3e0ffc47b
parent3975673309f769b52c961b3c31df0d78b05fa9a3
Rename 'pipe_info()' to 'get_pipe_info()'

commit 71993e62a47dabddf10302807d6aa260455503f4 upstream.

.. 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/splice.c