commit | 0e588859618be54ec100373f1b86296271ce5307 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Fri Aug 05 09:32:37 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Aug 16 21:09:31 2011 -0400 |
tree | 2973fd20d872d30f9dfe6369b570239a4a1233fd | |
parent | bb3ac5a4dfc8eeb881206c77d9f925e320d9c41a [diff] [blame] |
Btrfs: fix uninitialized sync_pending 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>
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 46f9a20..f2a4cc7 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c
@@ -142,7 +142,7 @@ unsigned long limit; unsigned long last_waited = 0; int force_reg = 0; - int sync_pending; + int sync_pending = 0; struct blk_plug plug; /*