All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] aio: remove an unused function
@ 2004-10-28 22:06 Adrian Bunk
  2004-10-29  0:13 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-10-28 22:06 UTC (permalink / raw)
  To: bcrl; +Cc: linux-aio, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unsed function from fs/aio.c


diffstat output:
 fs/aio.c |   18 +-----------------
 1 files changed, 1 insertion(+), 17 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

- --- linux-2.6.10-rc1-mm1-full/fs/aio.c.old	2004-10-28 22:36:18.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/fs/aio.c	2004-10-28 22:39:38.000000000 +0200
@@ -816,27 +816,11 @@
 
 
 /*
- - * aio_run_iocbs:
  * 	Process all pending retries queued on the ioctx
  * 	run list.
  * Assumes it is operating within the aio issuer's mm
  * context.
- - */
- -static inline void aio_run_iocbs(struct kioctx *ctx)
- -{
- -	int requeue;
- -
- -	spin_lock_irq(&ctx->ctx_lock);
- -
- -	requeue = __aio_run_iocbs(ctx);
- -	spin_unlock_irq(&ctx->ctx_lock);
- -	if (requeue)
- -		aio_queue_work(ctx);
- -}
- -
- -/*
- - * just like aio_run_iocbs, but keeps running them until
- - * the list stays empty
+ * It keeps running them until the list stays empty.
  */
 static inline void aio_run_all_iocbs(struct kioctx *ctx)
 {

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgW2DmfzqmE8StAARAorwAJ4g70Au9T46kK4uuqpnP83EAbRRDQCgq9dC
r9SmGUkMuWe15aer7F0Fy64=
=Pq/l
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-29  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 22:06 [2.6 patch] aio: remove an unused function Adrian Bunk
2004-10-29  0:13 ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.