btrfs: update comment for fs_devices::seed_list in btrfs_rm_device
PATCH 1/1 btrfs: update comment for fs_devices::seed_list in btrfs_rm_device
Update it since commit 944d3f9fac61 ("btrfs: switch seed device to list api") did conversion from fs_devices::seed to fs_devices::seed_list.
--- fs/btrfs/volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/volumes.c +1 -1
@@ -2203,7 +2203,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path,/* * In normal cases the cur_devices == fs_devices. But in case * of deleting a seed device, the cur_devices should point to -* its own fs_devices listed under the fs_devices->seed. +* its own fs_devices listed under the fs_devices->seed_list. */ cur_devices = device->fs_devices;mutex_lock (&fs_devices->device_list_mutex);
Signature · 1 line
2.30.1
Quoted 4 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.Signed-off-by Su Yue <[email protected]>
Quoted 18 lines
--- fs/btrfs/volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/btrfs/volumes.c +1
-1@@ -2203,7 +2203,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path,/* * In normal cases the cur_devices == fs_devices. But in case * of deleting a seed device, the cur_devices should point to -* its own fs_devices listed under the fs_devices->seed. +* its own fs_devices listed under the fs_devices->seed_list. */ cur_devices = device->fs_devices;mutex_lock (&fs_devices->device_list_mutex);
Quoted 9 lines · Anand Jain
Quoted 4 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.Signed-off-by Su Yue <[email protected]>Reviewed-by Anand Jain <[email protected]>
Ah. No. I have remove my RB...
Quoted 5 lines
Quoted 5 lines
---
fs/btrfs/volumes.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 11 lines
fs/btrfs/volumes.c int btrfs_rm_device(struct btrfs_fs_info · line 2207
Quoted 11 lines
fs/btrfs/volumes.c +1
-1@@ -2203,7 +2203,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, /** In normal cases the cur_devices == fs_devices. But in case * of deleting a seed device, the cur_devices should point to -* its own fs_devices listed under the fs_devices->seed. +* its own fs_devices listed under the fs_devices->seed_list.
fs_devices->seed is correct.
222 struct btrfs_fs_devices {
::
257 struct btrfs_fs_devices *seed;
Thanks, Anand
Quoted 5 lines
Quoted 4 lines
fs/btrfs/volumes.c +0
-0*/ cur_devices = device->fs_devices;
mutex_lock(&fs_devices->device_list_mutex);
Quoted 35 lines · Anand Jain
Quoted 10 lines · Anand Jain
Quoted 5 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.Signed-off-by Su Yue <[email protected]>Reviewed-by Anand Jain <[email protected]>Ah. No. I have remove my RB...
Quoted 5 lines
Quoted 5 lines
---
fs/btrfs/volumes.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Quoted 11 lines
fs/btrfs/volumes.c int btrfs_rm_device(struct btrfs_fs_info · line 2207
Quoted 11 lines
fs/btrfs/volumes.c +1
-1@@ -2203,7 +2203,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, /** In normal cases the cur_devices == fs_devices. But in case * of deleting a seed device, the cur_devices should point to -* its own fs_devices listed under the fs_devices->seed. +* its own fs_devices listed under the fs_devices->seed_list.
fs_devices->seedis correct.
Quoted 3 lines
222 struct
btrfs_fs_devices{
::
257 structbtrfs_fs_devices*seed;
You are clearly looking at the wrong tree since seed got removed exactly in the cited patch above.
Quoted 10 lines
Thanks, Anand
Quoted 5 lines
Quoted 4 lines
fs/btrfs/volumes.c +0
-0*/ cur_devices = device->fs_devices;
mutex_lock(&fs_devices->device_list_mutex);
Quoted 38 lines · Nikolay Borisov
Quoted 35 lines · Anand Jain
Quoted 10 lines · Anand Jain
Quoted 5 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.Signed-off-by Su Yue <[email protected]>Reviewed-by Anand Jain <[email protected]>Ah. No. I have remove my RB...
Quoted 5 lines
Quoted 5 lines
--- fs/btrfs/volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 11 lines
fs/btrfs/volumes.c int btrfs_rm_device(struct btrfs_fs_info · line 2207
Quoted 11 lines
fs/btrfs/volumes.c +1
-1@@ -2203,7 +2203,7 @@ int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, /** In normal cases the cur_devices == fs_devices. But in case * of deleting a seed device, the cur_devices should point to -* its own fs_devices listed under the fs_devices->seed. +* its own fs_devices listed under the fs_devices->seed_list.
fs_devices->seedis correct.
Quoted 6 lines
Quoted 3 lines
222 struct
btrfs_fs_devices{
::
257 structbtrfs_fs_devices*seed;You are clearly looking at the wrong tree since seed got removed exactly in the cited patch above.
Yep, I notice a little late.
Quoted 10 lines
Quoted 10 lines
Thanks, Anand
Quoted 5 lines
Quoted 4 lines
fs/btrfs/volumes.c +0
-0*/ cur_devices = device->fs_devices;
mutex_lock(&fs_devices->device_list_mutex);
Quoted 7 lines · Anand Jain
Quoted 4 lines · Anand Jain
Quoted 3 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Su Yue <[email protected]>Reviewed-by Anand Jain <[email protected]>Ah. No. I have remove my RB...
My rb is ok. I was looking at a 5.4 stable branch by mistake. I didn't realize. It is embarrassing. Sorry for the noise.
Thanks, Anand
Quoted 4 lines · Su Yue
Update it since commit
944d3f9fac61("btrfs: switch seed device to list api") did conversion fromfs_devices::seedtofs_devices::seed_list.Signed-off-by Su Yue <[email protected]>
Added to misc-next, thanks.