btrfs: Remove obsolete function declaration
PATCH 1/1 btrfs: Remove obsolete function declaration
This function was removed in 24bc2843edd5 ("btrfs:
Refactor __get_raid_index() to btrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.
---
David,
This is a fixlet to the aforementioned patch which is only in your misc-next, I'd suggest just squash this fixlet into the original one.
fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)
fs/btrfs/ctree.h +0 -1
@@ -2801,7 +2801,6 @@ int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);int btrfs_init_space_info (struct btrfs_fs_info *fs_info);int btrfs_delayed_refs_qgroup_accounting (struct btrfs_trans_handle *trans,struct btrfs_fs_info *fs_info); -int __get_raid_index (u64 flags);int btrfs_start_write_no_snapshotting (struct btrfs_root *root);void btrfs_end_write_no_snapshotting (struct btrfs_root *root);void btrfs_wait_for_snapshot_creation (struct btrfs_root *root);
Signature · 1 line
2.7.4
Quoted 3 lines · Nikolay Borisov
This function was removed in
24bc2843edd5("btrfs:
Refactor__get_raid_index()tobtrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.
Nice find, thanks for get this.
But strangely, I just fetched David's repo, but didn't find that commit hash anywhere.
I'm fetching from git.kernel.org repo, or is that repo only updated when pushing to Linus?
Thanks,
Qu
Quoted 24 lines
Signed-off-by Nikolay Borisov <[email protected]>---
David,This is a fixlet to the aforementioned patch which is only in your misc-next, I'd suggest just squash this fixlet into the original one.
fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)fs/btrfs/ctree.h +0
-1@@ -2801,7 +2801,6 @@ int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);int btrfs_init_space_info (struct btrfs_fs_info *fs_info);int btrfs_delayed_refs_qgroup_accounting (struct btrfs_trans_handle *trans,struct btrfs_fs_info *fs_info); -int __get_raid_index (u64 flags);int btrfs_start_write_no_snapshotting (struct btrfs_root *root);void btrfs_end_write_no_snapshotting (struct btrfs_root *root);void btrfs_wait_for_snapshot_creation (struct btrfs_root *root);
Quoted 7 lines · Qu Wenruo
Quoted 3 lines · Nikolay Borisov
This function was removed in
24bc2843edd5("btrfs:
Refactor__get_raid_index()tobtrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.
Quoted 8 lines
Nice find, thanks for get this.
But strangely, I just fetched David's repo, but didn't find that commit hash anywhere.
I'm fetching from git.kernel.org repo, or is that repo only updated when pushing to Linus?
It's update only when david pushes and preps the pull reqs. I base all my development on his misc-next branch on github.
Quoted 29 lines
Thanks,
QuQuoted 24 lines
Signed-off-by Nikolay Borisov <[email protected]>---
David,This is a fixlet to the aforementioned patch which is only in your misc-next, I'd suggest just squash this fixlet into the original one.
fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)fs/btrfs/ctree.h +0
-1@@ -2801,7 +2801,6 @@ int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);int btrfs_init_space_info (struct btrfs_fs_info *fs_info);int btrfs_delayed_refs_qgroup_accounting (struct btrfs_trans_handle *trans,struct btrfs_fs_info *fs_info); -int __get_raid_index (u64 flags);int btrfs_start_write_no_snapshotting (struct btrfs_root *root);void btrfs_end_write_no_snapshotting (struct btrfs_root *root);void btrfs_wait_for_snapshot_creation (struct btrfs_root *root);
Quoted 13 lines · Nikolay Borisov
Quoted 10 lines · Qu Wenruo
Quoted 3 lines · Nikolay Borisov
This function was removed in
24bc2843edd5("btrfs:
Refactor__get_raid_index()tobtrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.Nice find, thanks for get this.
Quoted 8 lines
Quoted 5 lines
But strangely, I just fetched David's repo, but didn't find that commit hash anywhere.
I'm fetching from git.kernel.org repo, or is that repo only updated when pushing to Linus?
It's update only when david pushes and preps the pull reqs. I base all my development on his misc-next branch on github.
No wonder.
Thanks,
Qu
Quoted 34 lines
Quoted 15 lines
Thanks,
QuQuoted 11 lines
Signed-off-by Nikolay Borisov <[email protected]>---
David,This is a fixlet to the aforementioned patch which is only in your misc-next, I'd suggest just squash this fixlet into the original one.
fs/btrfs/ctree.h | 1 - 1 file changed, 1 deletion(-)Quoted 14 lines
fs/btrfs/ctree.h int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range); · line 2806
Quoted 13 lines
fs/btrfs/ctree.h +0
-1@@ -2801,7 +2801,6 @@ int btrfs_trim_fs(struct btrfs_fs_info *fs_info, struct fstrim_range *range);int btrfs_init_space_info (struct btrfs_fs_info *fs_info);int btrfs_delayed_refs_qgroup_accounting (struct btrfs_trans_handle *trans,struct btrfs_fs_info *fs_info); -int __get_raid_index (u64 flags);int btrfs_start_write_no_snapshotting (struct btrfs_root *root);void btrfs_end_write_no_snapshotting (struct btrfs_root *root);void btrfs_wait_for_snapshot_creation (struct btrfs_root *root);--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Qu Wenruo
Quoted 3 lines · Nikolay Borisov
This function was removed in
24bc2843edd5("btrfs:
Refactor__get_raid_index()tobtrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.
Quoted 8 lines
Nice find, thanks for get this.
But strangely, I just fetched David's repo, but didn't find that commit hash anywhere.
I'm fetching from git.kernel.org repo, or is that repo only updated when pushing to Linus?
The workflow hasn't changed for a few months, but after the last round of complaints and surprises where are the development patches, I've updated the wiki page:
https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Kernel_module
If there's information missing or unclear, please let me know.
Quoted 10 lines · Nikolay Borisov
This function was removed in
24bc2843edd5("btrfs:
Refactor__get_raid_index()tobtrfs_bg_flags_to_raid_index()") what remains is a defunct declaration. Remove it.Signed-off-by Nikolay Borisov <[email protected]>---
David,This is a fixlet to the aforementioned patch which is only in your misc-next, I'd suggest just squash this fixlet into the original one.
Yes, makes sense. Done.
If that happens in the future again, sending a separate mail (not necessarily a full blown patch with changelog etc) works fine, namely for patches that are deep in the devel queue like that one. So, thanks.