From: Eric Sandeen <sandeen@redhat.com>
To: ext4 development <linux-ext4@vger.kernel.org>
Cc: Alex Tomas <alex@sun.com>
Subject: __set_bit for BH flags in ext4_ext_get_blocks?
Date: Mon, 09 Jun 2008 15:42:55 -0500 [thread overview]
Message-ID: <484D95CF.9020801@redhat.com> (raw)
I was wondering why ext4_ext_get_blocks calls things like:
__set_bit(BH_Unwritten, &bh_result->b_state);
__set_bit(BH_New, &bh_result->b_state);
__set_bit(BH_Mapped, &bh_result->b_state);
instead of set_buffer_unwritten, etc.
Is there any reason it's calling __set_bit instead of set_bit (via the
BUFFER_FNS macros)?
Thanks,
-Eric
next reply other threads:[~2008-06-09 20:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 20:42 Eric Sandeen [this message]
2008-06-09 20:59 ` [PATCH] use atomic functions to set bh_state Eric Sandeen
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=484D95CF.9020801@redhat.com \
--to=sandeen@redhat.com \
--cc=alex@sun.com \
--cc=linux-ext4@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).