projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aead43
)
Btrfs: Fix typo in clear_state_cb
author
Liu Hui
<onlyflyer@gmail.com>
Mon, 5 Jan 2009 20:49:55 +0000
(15:49 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 5 Jan 2009 20:49:55 +0000
(15:49 -0500)
In clear_state_cb, we should check 'tree->ops->clear_bit_hook' instead
of 'tree->ops->set_bit_hook'.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index 25ce2d18e5b4db2c8a7030ea920afd2ef0b0db22..0bf7684207aa11e68ee356ab83178b87ed9813d9 100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-340,7
+340,7
@@
static void clear_state_cb(struct extent_io_tree *tree,
struct extent_state *state,
unsigned long bits)
{
- if (tree->ops && tree->ops->
set
_bit_hook) {
+ if (tree->ops && tree->ops->
clear
_bit_hook) {
tree->ops->clear_bit_hook(tree->mapping->host, state->start,
state->end, state->state, bits);
}