linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs: update comment for fs_devices::seed_list in btrfs_rm_device
@ 2021-08-18  4:15 Su Yue
  2021-08-18  4:25 ` Anand Jain
  2021-08-23 12:59 ` David Sterba
  0 siblings, 2 replies; 7+ messages in thread
From: Su Yue @ 2021-08-18  4:15 UTC (permalink / raw)
  To: linux-btrfs; +Cc: l

Update it since commit 944d3f9fac61 ("btrfs: switch seed device to
list api") did conversion from fs_devices::seed to fs_devices::seed_list.

Signed-off-by: Su Yue <l@damenly.su>
---
 fs/btrfs/volumes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 70f94b75f25a..fcc2fede9ffc 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -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);
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-23 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18  4:15 [PATCH] btrfs: update comment for fs_devices::seed_list in btrfs_rm_device Su Yue
2021-08-18  4:25 ` Anand Jain
2021-08-18  6:13   ` Anand Jain
2021-08-18  6:20     ` Nikolay Borisov
2021-08-18  6:49       ` Anand Jain
2021-08-18  6:28     ` Anand Jain
2021-08-23 12:59 ` David Sterba

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).