From d1fffb0221509e8a5c844e9ca9b27a340c35cb53 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Fri, 21 Mar 2014 06:36:08 -0700 Subject: [PATCH] btrfs-progs: fix uninit variable in btrfs_scan_kernel Signed-off-by: Chris Mason --- cmds-filesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 2b2d068e..dfbb4f50 100644 --- 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");