From patchwork Wed May 14 18:12:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 4176551 X-Patchwork-Delegate: dave@jikos.cz Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C355BBFF02 for ; Wed, 14 May 2014 18:13:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B845620265 for ; Wed, 14 May 2014 18:13:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 93CB620254 for ; Wed, 14 May 2014 18:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751252AbaENSNF (ORCPT ); Wed, 14 May 2014 14:13:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58571 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786AbaENSNB (ORCPT ); Wed, 14 May 2014 14:13:01 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 23131ACCB for ; Wed, 14 May 2014 18:13:00 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id EF7BADA8F0; Wed, 14 May 2014 20:12:59 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH] btrfs-progs: hide 'FS occupied' from device usage output for now Date: Wed, 14 May 2014 20:12:57 +0200 Message-Id: <1400091177-14308-1-git-send-email-dsterba@suse.cz> X-Mailer: git-send-email 1.9.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The term has not seen an agreement and we don't want to change it once it's in non-development branches or even released. Discussion under the patch: http://thread.gmane.org/gmane.comp.file-systems.btrfs/34627 Signed-off-by: David Sterba --- Some variant based on of the terms: occupy, hold, retain, maintain cmds-fi-disk_usage.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmds-fi-disk_usage.c b/cmds-fi-disk_usage.c index 5580134ac939..453410f070da 100644 --- a/cmds-fi-disk_usage.c +++ b/cmds-fi-disk_usage.c @@ -906,7 +906,13 @@ void print_device_sizes(int fd, struct device_info *devinfo, int mode) printf(" Device size: %*s%10s\n", (int)(20 - strlen("Device size")), "", pretty_size_mode(devinfo->device_size, mode)); +#if 0 + /* + * The term has not seen an agreement and we don't want to change it + * once it's in non-development branches or even released. + */ printf(" FS occupied: %*s%10s\n", (int)(20 - strlen("FS occupied")), "", pretty_size_mode(devinfo->size, mode)); +#endif }