projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915e229
)
btrfs: Remove unnecessary ClearPageUptodate for raid56
author
Zhao Lei
<zhaolei@cn.fujitsu.com>
Tue, 12 Jan 2016 09:22:13 +0000
(17:22 +0800)
committer
Chris Mason
<clm@fb.com>
Wed, 20 Jan 2016 15:22:17 +0000
(07:22 -0800)
PageUptodate flag already initialized to 0 for new page,
no need to set it again.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/raid56.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index 719dbc0d30808ba338da435b71ccf0b703284e33..2bc34e91b62eb86240cdbff12e705db3273e6bb9 100644
(file)
--- a/
fs/btrfs/raid56.c
+++ b/
fs/btrfs/raid56.c
@@
-1032,7
+1032,6
@@
static int alloc_rbio_pages(struct btrfs_raid_bio *rbio)
if (!page)
return -ENOMEM;
rbio->stripe_pages[i] = page;
- ClearPageUptodate(page);
}
return 0;
}
@@
-2273,7
+2272,6
@@
static int alloc_rbio_essential_pages(struct btrfs_raid_bio *rbio)
if (!page)
return -ENOMEM;
rbio->stripe_pages[index] = page;
- ClearPageUptodate(page);
}
}
return 0;