Re: [PATCH 2/7] rename locking functions - convert sema_init users

Andrew Morton
2005-08-18T10:12:05Z

Jesper Juhl <jesper.juhl@gmail.com> wrote:
>
> --- linux-2.6.13-rc6-git9-orig/fs/xfs/linux-2.6/sema.h 2005-06-17 21:48:29.000000000 +0200
> +++ linux-2.6.13-rc6-git9/fs/xfs/linux-2.6/sema.h 2005-08-18 00:46:41.000000000 +0200
> @@ -43,9 +43,9 @@
>
> typedef struct semaphore sema_t;
>
> -#define init_sema(sp, val, c, d) sema_init(sp, val)
> -#define initsema(sp, val) sema_init(sp, val)
> -#define initnsema(sp, val, name) sema_init(sp, val)
> +#define init_sema(sp, val, c, d) init_sema(sp, val)
> +#define initsema(sp, val) init_sema(sp, val)
> +#define initnsema(sp, val, name) init_sema(sp, val)

Well that's pretty nonsensical. I'll drop the patches - please don't send
things which haven't been compiled.