[2.6 patch] aio: remove an unused function

From: Adrian Bunk (bunk_at_stusta.de)
Date: 10/29/04

  • Next message: Adrian Bunk: "[2.6 patch] watchdog/machzwd.c: remove unused functions"
    Date:	Fri, 29 Oct 2004 02:13:19 +0200
    To: bcrl@redhat.com
    
    

    [ this time without the problems due to a signature... ]

    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)
     {
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adrian Bunk: "[2.6 patch] watchdog/machzwd.c: remove unused functions"

    Relevant Pages

    • [2.6 patch] aio: remove an unused function
      ... * It keeps running them until the list stays empty. ... static inline void aio_run_all_iocbs(struct kioctx *ctx) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH - ext2fs privacy (i.e. secure deletion) patch
      ... stored in multiple folders by simply using multiple hard links. ... > also fail if you tried to add it to a directory which was not empty. ... So unless someone feels that's a bug which needs immediate ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] IPMI: driver model and sysfs support
      ... > * There are some significant changes to versioning in the ... > a single statement and another where you deleted the empty line ... necessarily ASCII strings? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: merge status
      ... > outstanding patches in the subsystem trees. ... I can only assume that it is empty, ... Linux NTFS maintainer / IRC: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 3/3] aio: make ctx ref debugging depend on DEBUG
      ... make ctx ref debugging depend on DEBUG ... +static inline void get_ioctx(struct kioctx *ctx) ... extern int FASTCALL); ...
      (Linux-Kernel)