projects
/
GitHub
/
LineageOS
/
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:
bb3ac5a
)
Btrfs: fix uninitialized sync_pending
author
Miao Xie
<miaox@cn.fujitsu.com>
Fri, 5 Aug 2011 09:32:37 +0000
(09:32 +0000)
committer
Chris Mason
<chris.mason@oracle.com>
Wed, 17 Aug 2011 01:09:31 +0000
(21:09 -0400)
sync_pending is uninitialized before it be used, fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index 46f9a208723da7fed7c7c97e9394eb70584edd23..f2a4cc79da61da62740d1de33552037f27b072a2 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-142,7
+142,7
@@
static noinline int run_scheduled_bios(struct btrfs_device *device)
unsigned long limit;
unsigned long last_waited = 0;
int force_reg = 0;
- int sync_pending;
+ int sync_pending
= 0
;
struct blk_plug plug;
/*