dm: v4 ioctl interface (was: Re: Linux v2.6.0-test2)

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 07/30/03

  • Next message: Robert Williamson: "Question about 2.4 kernel clone() system call for ppc64 64bit apps"
    Date:	Wed, 30 Jul 2003 23:27:18 +0200 (MEST)
    To: Joe Thornber <thornber@sistina.com>, Andrew Morton <akpm@osdl.org>
    
    

    On Sun, 27 Jul 2003, Linus Torvalds wrote:
    > Summary of changes from v2.6.0-test1 to v2.6.0-test2
    > ============================================
    >
    > Andrew Morton:
    > o dm: v4 ioctl interface

    This interface code contains a local `resume()' routine, which conflicts with
    the `resume()' defined by many architectures in <asm/*.h>. The patch below
    fixes this by renaming the local routine to `do_resume()'.

    However, after this change it still doesn't compile...

    --- linux-2.6.0-test2/drivers/md/dm-ioctl-v4.c.orig Tue Jul 29 23:23:17 2003
    +++ linux-2.6.0-test2/drivers/md/dm-ioctl-v4.c Wed Jul 30 23:17:16 2003
    @@ -613,7 +613,7 @@
             return r;
     }
     
    -static int resume(struct dm_ioctl *param)
    +static int do_resume(struct dm_ioctl *param)
     {
             int r = 0;
             struct hash_cell *hc;
    @@ -678,7 +678,7 @@
             if (param->flags & DM_SUSPEND_FLAG)
                     return suspend(param);
     
    - return resume(param);
    + return do_resume(param);
     }
     
     /*

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    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: Robert Williamson: "Question about 2.4 kernel clone() system call for ppc64 64bit apps"

    Relevant Pages

    • Re: [RFC 2.6.11-rc2-mm2 7/7] mm: manual page migration -- sys_page_migrate
      ... Are the usual kill-like permissions sufficient? ... In the following routine, tighten up some vertical spacing, ... migrated on success, not zero. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] 2.6 SGI Altix I/O code reorganization
      ... Doing it for the general sn_pci_init routine would let us ... get rid of the check for ia64_platform_isin one of the routines, ... It will be great to avoid spinning this big patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: dates problem
      ... JRS: In article, dated Tue, 19 ... Param R. posted: ... I have the following routine that adds a specified amount of days to ... days are not always 24 hours long (even ignoring leap ...
      (microsoft.public.scripting.jscript)
    • RE: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion
      ... The routine scsi_device_online is a function, ... Anybody on the linux forums have any ideas? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] arch/x86_64/kernel/ptrace.c linux-2.6.14.4
      ... After looking at the process.c and ldt.c source code, ... routine in process.c, and the read_ldtroutine below is based off of ... didn't do that in this version of the patch. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)