From patchwork Tue Feb 1 13:54:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Schmidt X-Patchwork-Id: 523091 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p11ESRZC003439 for ; Tue, 1 Feb 2011 14:28:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756994Ab1BAO2X (ORCPT ); Tue, 1 Feb 2011 09:28:23 -0500 Received: from vroomfondel.rzone.de ([81.169.147.145]:41699 "EHLO vroomfondel.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756931Ab1BAO2R (ORCPT ); Tue, 1 Feb 2011 09:28:17 -0500 Received: from sensei.trapni.de (oglaroon.iata [192.168.96.10]) by vroomfondel.rzone.de (Postfix) with ESMTP id 4DA184B02; Tue, 1 Feb 2011 14:55:42 +0100 (MET) Received: by sensei.trapni.de (Postfix, from userid 0) id 5524C9C08C2; Tue, 1 Feb 2011 14:54:50 +0100 (CET) From: Jan Schmidt To: linux-btrfs@vger.kernel.org Cc: chris.mason@oracle.com, sensille@gmx.net Subject: [PATCH 7/7] made btrfs-vol compile. looks unused, so no speed class support here for now. Date: Tue, 1 Feb 2011 14:54:50 +0100 Message-Id: <1296568490-13264-8-git-send-email-list.btrfs@jan-o-sch.net> X-Mailer: git-send-email 1.7.2.2 In-Reply-To: <1296568490-13264-1-git-send-email-list.btrfs@jan-o-sch.net> References: <1296568490-13264-1-git-send-email-list.btrfs@jan-o-sch.net> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 01 Feb 2011 14:28:28 +0000 (UTC) diff --git a/btrfs-vol.c b/btrfs-vol.c index 4ed799d..138c69c 100644 --- a/btrfs-vol.c +++ b/btrfs-vol.c @@ -143,7 +143,8 @@ int main(int ac, char **av) exit(1); } if (cmd == BTRFS_IOC_ADD_DEV) { - ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count); + ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count, + BTRFS_DEVCLASS_ALL); if (ret) { fprintf(stderr, "Unable to init %s\n", device); exit(1);