From patchwork Fri Aug 24 13:59:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 1370981 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E4AD33FC81 for ; Fri, 24 Aug 2012 13:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759511Ab2HXN6r (ORCPT ); Fri, 24 Aug 2012 09:58:47 -0400 Received: from smtp207.alice.it ([82.57.200.103]:36546 "EHLO smtp207.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759496Ab2HXN6q (ORCPT ); Fri, 24 Aug 2012 09:58:46 -0400 Received: from venice.bhome (151.24.44.165) by smtp207.alice.it (8.6.023.02) (authenticated as kreijack@alice.it) id 500F3F97057393F1 for linux-btrfs@vger.kernel.org; Fri, 24 Aug 2012 15:58:45 +0200 Subject: [PATCH v1 3/4] Add a new Kconfig section to enable or disable the sysfs. To: linux-btrfs@vger.kernel.org From: Goffredo Baroncelli Date: Fri, 24 Aug 2012 15:59:29 +0200 Message-ID: <20120824135912.20478.28803.stgit@venice.bhome> In-Reply-To: <20120824135322.20478.88578.stgit@venice.bhome> References: <20120824135322.20478.88578.stgit@venice.bhome> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Add support for sysfs to BTRFS. This patch add the Kconfig part to enable or disable the exporting of teh BTRFS information via sysfs. Signed-off-by: Goffredo Baroncelli --- fs/btrfs/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index d33f01c..187e057 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -50,3 +50,12 @@ config BTRFS_FS_CHECK_INTEGRITY In most cases, unless you are a btrfs developer who needs to verify the integrity of (super)-block write requests during the run of a regression test, say N + +config BTRFS_FS_SYSFS + bool "Btrfs sysfs support" + depends on BTRFS_FS + help + This options allow to export some btrfs filesystems/devices + properties via the sysfs interface. + +