From: Nikolay Borisov <nborisov@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: Nikolay Borisov <nborisov@suse.com>
Subject: [PATCH 1/2] btrfs: remove MIXED_BACKREF sysfs file
Date: Fri, 24 Jun 2022 11:01:22 +0300 [thread overview]
Message-ID: <20220624080123.1521917-2-nborisov@suse.com> (raw)
In-Reply-To: <20220624080123.1521917-1-nborisov@suse.com>
This feature has been the default for about 13 year. At this point it's
safe to consider it an indispensable feature of BTRFS as such there's
no need to advertise it in sysfs. Simply remove the sysfs file.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
fs/btrfs/sysfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index d4502f0e4fca..715d1e725f2a 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -276,7 +276,6 @@ static umode_t btrfs_feature_visible(struct kobject *kobj,
return mode;
}
-BTRFS_FEAT_ATTR_INCOMPAT(mixed_backref, MIXED_BACKREF);
BTRFS_FEAT_ATTR_INCOMPAT(default_subvol, DEFAULT_SUBVOL);
BTRFS_FEAT_ATTR_INCOMPAT(mixed_groups, MIXED_GROUPS);
BTRFS_FEAT_ATTR_INCOMPAT(compress_lzo, COMPRESS_LZO);
@@ -308,7 +307,6 @@ BTRFS_FEAT_ATTR_COMPAT_RO(verity, VERITY);
* can be changed on a mounted filesystem.
*/
static struct attribute *btrfs_supported_feature_attrs[] = {
- BTRFS_FEAT_ATTR_PTR(mixed_backref),
BTRFS_FEAT_ATTR_PTR(default_subvol),
BTRFS_FEAT_ATTR_PTR(mixed_groups),
BTRFS_FEAT_ATTR_PTR(compress_lzo),
--
2.25.1
next prev parent reply other threads:[~2022-06-24 8:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 8:01 [PATCH 0/2] Cleanup 2 sysfs flags Nikolay Borisov
2022-06-24 8:01 ` Nikolay Borisov [this message]
2022-06-24 8:13 ` [PATCH 1/2] btrfs: remove MIXED_BACKREF sysfs file Qu Wenruo
2022-06-24 11:32 ` Nikolay Borisov
2022-06-24 11:46 ` Qu Wenruo
2022-06-24 13:47 ` David Sterba
2022-06-24 14:02 ` Qu Wenruo
2022-06-24 15:44 ` David Sterba
2022-06-25 5:53 ` Qu Wenruo
2022-07-11 15:23 ` David Sterba
2022-07-12 1:06 ` Qu Wenruo
2022-06-24 8:01 ` [PATCH 2/2] btrfs: remove BIG_METADATA syfs file Nikolay Borisov
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=20220624080123.1521917-2-nborisov@suse.com \
--to=nborisov@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.