lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070503093936.GA12229@duck.suse.cz>
Date:	Thu, 3 May 2007 11:39:37 +0200
From:	Jan Kara <jack@...e.cz>
To:	Mike Frysinger <vapier@...too.org>
Cc:	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [patch] hide spinlock in linux/quota.h behind __KERNEL__

On Wed 02-05-07 18:53:39, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier@...too.org>
  Acked-by: Jan Kara <jack@...e.cz>

> ---
> diff --git a/include/linux/quota.h b/include/linux/quota.h
> index 77db80a..6243982 100644
> --- a/include/linux/quota.h
> +++ b/include/linux/quota.h
> @@ -44,8 +44,6 @@
>  typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */
>  typedef __u64 qsize_t;          /* Type in which we store sizes */
>  
> -extern spinlock_t dq_data_lock;
> -
>  /* Size of blocks in which are counted size limits */
>  #define QUOTABLOCK_BITS 10
>  #define QUOTABLOCK_SIZE (1 << QUOTABLOCK_BITS)
> @@ -139,6 +137,8 @@ struct if_dqinfo {
>  #include <linux/dqblk_v1.h>
>  #include <linux/dqblk_v2.h>
>  
> +extern spinlock_t dq_data_lock;
> +
>  /* Maximal numbers of writes for quota operation (insert/delete/update)
>   * (over VFS all formats) */
>  #define DQUOT_INIT_ALLOC max(V1_INIT_ALLOC, V2_INIT_ALLOC)
-- 
Jan Kara <jack@...e.cz>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ