projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2359c
)
btrfs-progs: fix uninit variable in btrfs_scan_kernel
author
Chris Mason
<clm@fb.com>
Fri, 21 Mar 2014 13:36:08 +0000
(06:36 -0700)
committer
Chris Mason
<clm@fb.com>
Fri, 21 Mar 2014 16:50:47 +0000
(09:50 -0700)
Signed-off-by: Chris Mason <clm@fb.com>
cmds-filesystem.c
patch
|
blob
|
history
diff --git
a/cmds-filesystem.c
b/cmds-filesystem.c
index
2b2d068
..
dfbb4f5
100644
(file)
--- a/
cmds-filesystem.c
+++ b/
cmds-filesystem.c
@@
-448,7
+448,7
@@
static int btrfs_scan_kernel(void *search)
struct mntent *mnt;
struct btrfs_ioctl_fs_info_args fs_info_arg;
struct btrfs_ioctl_dev_info_args *dev_info_arg = NULL;
- struct btrfs_ioctl_space_args *space_info_arg;
+ struct btrfs_ioctl_space_args *space_info_arg
= NULL
;
char label[BTRFS_LABEL_SIZE];
f = setmntent("/proc/self/mounts", "r");