Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
if(argc<=devstart){
int ret;
printf("Scanning for Btrfs filesystems\n");
- ret = scan_for_btrfs(where, 1);
+ ret = scan_for_btrfs(where, BTRFS_UPDATE_KERNEL);
if (ret){
fprintf(stderr, "ERROR: error %d while scanning\n", ret);
return 1;
/* scan other devices */
if (is_btrfs && total_devs > 1) {
- if((ret = btrfs_scan_for_fsid(0)))
+ if ((ret = btrfs_scan_for_fsid(!BTRFS_UPDATE_KERNEL)))
return ret;
}