]> git.hungrycats.org Git - linux/commit
[PATCH] aio.c: rename 'struct timeout' to 'struct aio_timeout'
authorIñaky Pérez-González <inaky.perez-gonzalez@intel.com>
Mon, 23 Aug 2004 06:05:25 +0000 (23:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:05:25 +0000 (23:05 -0700)
commitd86f67713b53b625ab1fd1ef4b5b8cda9e3362d7
treea3eb6b6087ba5104e3de9bf22fdeacdf362d0373
parent6e354f5cececd74a72c4f11bc5758cebbc7395d1
[PATCH] aio.c: rename 'struct timeout' to 'struct aio_timeout'

This patch renames fs/aio.c:'struct timeout' to 'struct aio_timeout'.  The
rationale behind this decision is this type is used only inside the
aforementioned aio.c file and being the type name very generic, it is
likely to cause namespace conflicts in the future.

I actually found it while working on an extended schedule_timeout()- like
API used by robust mutexes but usable by anyone.  There I declared a
'struct timeout' and aio.c complained about it.  I could have also renamed
the struct for the schedule_timeout() like API, but being the aio.c one
specific to the file, I thought it might make more sense to rename the
later.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/aio.c