From: David Sterba <dsterba@suse.cz>
To: Anand Jain <anand.jain@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2 0/5] btrfs: sysfs, cleanups
Date: Tue, 26 Nov 2019 17:54:54 +0100 [thread overview]
Message-ID: <20191126165454.GM2734@twin.jikos.cz> (raw)
In-Reply-To: <1574328814-12263-1-git-send-email-anand.jain@oracle.com>
On Thu, Nov 21, 2019 at 05:33:29PM +0800, Anand Jain wrote:
> v2:
> In v2 I have used better naming compared to v1. For example
> btrfs_fs_devices::devices_dir_kobj vs btrfs_fs_devices::devices_kobj
> and btrfs_sysfs_add_device_info() vs btrfs_sysfs_add_devices_attr,
> as I am following a pattern that sysfs directories are inherently
> kobjects, which holds files as attributes. We could drop sysfs prefix
> also because kobj and attr already indicate that they are part of
> sysfs. But people not familiar with sysfs terminology might have to
> wonder a little bit, so didn't make that bold changes.
I think the _sysfs_ part of the function is a good thing and makes it
clear that it belongs to the sysfs interfacing wrappers.
> Anand Jain (5):
> btrfs: sysfs, rename devices kobject holder to devices_kobj
> btrfs: sysfs, rename device_link add,remove functions
> btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parent
> btrfs: sysfs, rename btrfs_sysfs_add_device()
> btrfs: sysfs, merge btrfs_sysfs_add devices_kobj and fsid
1,3,4,5 applied, thanks.
prev parent reply other threads:[~2019-11-26 16:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-21 9:33 [PATCH v2 0/5] btrfs: sysfs, cleanups Anand Jain
2019-11-21 9:33 ` [PATCH v2 1/5] btrfs: sysfs, rename devices kobject holder to devices_kobj Anand Jain
2019-11-26 16:41 ` David Sterba
2019-11-21 9:33 ` [PATCH v2 2/5] btrfs: sysfs, rename device_link add,remove functions Anand Jain
2019-11-26 16:40 ` David Sterba
2019-12-03 5:42 ` Anand Jain
2019-11-21 9:33 ` [PATCH v2 3/5] btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parent Anand Jain
2019-11-21 9:33 ` [PATCH v2 4/5] btrfs: sysfs, rename btrfs_sysfs_add_device() Anand Jain
2019-11-21 9:33 ` [PATCH v2 5/5] btrfs: sysfs, merge btrfs_sysfs_add devices_kobj and fsid Anand Jain
2019-11-26 16:44 ` David Sterba
2019-11-26 16:54 ` David Sterba [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191126165454.GM2734@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).