From: Jan Kara <jack@suse.cz>
To: Mike Frysinger <vapier@gentoo.org>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [patch] hide spinlock in linux/quota.h behind __KERNEL__
Date: Thu, 3 May 2007 11:39:37 +0200 [thread overview]
Message-ID: <20070503093936.GA12229@duck.suse.cz> (raw)
In-Reply-To: <200705021853.39952.vapier@gentoo.org>
On Wed 02-05-07 18:53:39, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Jan Kara <jack@suse.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@suse.cz>
SuSE CR Labs
prev parent reply other threads:[~2007-05-03 9:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-02 22:53 Mike Frysinger
2007-05-03 9:39 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070503093936.GA12229@duck.suse.cz \
--to=jack@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®