linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: correct the comment for extent_io.c/clear_extent_bits
@ 2012-08-14  7:49 Wang Sheng-Hui
  0 siblings, 0 replies; only message in thread
From: Wang Sheng-Hui @ 2012-08-14  7:49 UTC (permalink / raw)
  To: chris.mason, linux-btrfs

It should be "clear" instead of "set" for clear_extent_bits.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 extent_io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extent_io.c b/extent_io.c
index ebb35b2..638ee0e 100644
--- a/extent_io.c
+++ b/extent_io.c
@@ -195,7 +195,7 @@ static int clear_state_bit(struct extent_io_tree *tree,
 }
 
 /*
- * set some bits on a range in the tree.
+ * clear some bits on a range in the tree.
  */
 int clear_extent_bits(struct extent_io_tree *tree, u64 start,
 		      u64 end, int bits, gfp_t mask)
-- 
1.7.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-14  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14  7:49 [PATCH] btrfs-progs: correct the comment for extent_io.c/clear_extent_bits Wang Sheng-Hui

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).