Message ID | 20191118084656.3089-8-anand.jain@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: sysfs, cleanups | expand |
On Mon, Nov 18, 2019 at 04:46:48PM +0800, Anand Jain wrote: > commit 3ebb2ada (btrfs: sysfs: export supported checksums), added some unwanted > commented-code, delete it. > > Signed-off-by: Anand Jain <anand.jain@oracle.com> > --- > fs/btrfs/sysfs.c | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c > index 724af1322dce..9494ccace624 100644 > --- a/fs/btrfs/sysfs.c > +++ b/fs/btrfs/sysfs.c > @@ -255,16 +255,6 @@ BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID); > BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE); > BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34); > > -/* > -static struct btrfs_feature_attr btrfs_attr_features_checksums_name = { > - .kobj_attr = __INIT_KOBJ_ATTR(supported_checksums, S_IRUGO, > - btrfs_supported_checksums_show, > - NULL), > - .feature_set = FEAT_INCOMPAT, > - .feature_bit = 0, > -}; > -*/ Uh, I'll fold that to the patch that introduced it, thanks for spotting it.
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 724af1322dce..9494ccace624 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -255,16 +255,6 @@ BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID); BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE); BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34); -/* -static struct btrfs_feature_attr btrfs_attr_features_checksums_name = { - .kobj_attr = __INIT_KOBJ_ATTR(supported_checksums, S_IRUGO, - btrfs_supported_checksums_show, - NULL), - .feature_set = FEAT_INCOMPAT, - .feature_bit = 0, -}; -*/ - static struct attribute *btrfs_supported_feature_attrs[] = { BTRFS_FEAT_ATTR_PTR(mixed_backref), BTRFS_FEAT_ATTR_PTR(default_subvol),
commit 3ebb2ada (btrfs: sysfs: export supported checksums), added some unwanted commented-code, delete it. Signed-off-by: Anand Jain <anand.jain@oracle.com> --- fs/btrfs/sysfs.c | 10 ---------- 1 file changed, 10 deletions(-)