From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753590AbbIBNqb (ORCPT ); Wed, 2 Sep 2015 09:46:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41963 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753534AbbIBNq3 (ORCPT ); Wed, 2 Sep 2015 09:46:29 -0400 Date: Wed, 2 Sep 2015 15:46:25 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra , Matt Fleming , =?iso-8859-1?Q?Rapha=EBl?= Beamonte , Steven Rostedt Subject: Re: [PATCH 12/15] tools lib api: Add configured support for fs Message-ID: <20150902134625.GC27164@krava.brq.redhat.com> References: <1441180605-24737-1-git-send-email-jolsa@kernel.org> <1441180605-24737-13-git-send-email-jolsa@kernel.org> <20150902133931.GH12722@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150902133931.GH12722@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > > interface that returns bool state of the filesystem mount: > > true - mounted, false - not mounted > > Well, why not take the opportunity and call it... name__mounted()? > "__configured()" is too vague... I mirrored the debugfs/tracefs object interface we can have another patch changing that > > Also there was some cut'n'pasting mistake here... if you agree I can fix > it all up and make this change, well, I'm doing it on my local tree, > holler if you have any objection :) > > - Arnaldo > > > It will not try to mount the filesystem. > > No FSTYPE__configured() (to-be FSTYPE__mounted()) doesn't mount > anything, that is what FSTYPE__mount() does :-) I stated it just to be clear ;-) jirka