All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs: remove comment for argument seed of btrfs_find_device
@ 2021-04-25  8:35 Su Yue
  2021-04-26  3:02 ` Anand Jain
  2021-04-28 17:21 ` David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: Su Yue @ 2021-04-25  8:35 UTC (permalink / raw)
  To: linux-btrfs; +Cc: l

Commit b2598edf8b36 ("btrfs: remove unused argument seed from
btrfs_find_device") removed the argument seed from btrfs_find_device
but forgot the comment, so remove it.

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

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 77cdb75acc15..9ee17b2ff621 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -6669,8 +6669,6 @@ blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
  *
  * If devid and uuid are both specified, the match must be exact, otherwise
  * only devid is used.
- *
- * If @seed is true, traverse through the seed devices.
  */
 struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices,
 				       u64 devid, u8 *uuid, u8 *fsid)
-- 
2.30.1


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

* Re: [PATCH] btrfs: remove comment for argument seed of btrfs_find_device
  2021-04-25  8:35 [PATCH] btrfs: remove comment for argument seed of btrfs_find_device Su Yue
@ 2021-04-26  3:02 ` Anand Jain
  2021-04-28 17:21 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: Anand Jain @ 2021-04-26  3:02 UTC (permalink / raw)
  To: Su Yue, linux-btrfs

On 25/04/2021 16:35, Su Yue wrote:
> Commit b2598edf8b36 ("btrfs: remove unused argument seed from
> btrfs_find_device") removed the argument seed from btrfs_find_device
> but forgot the comment, so remove it.
> 
  My bad. Thanks for the fix.

Reviewed-by: Anand Jain <anand.jain@oracle.com>


> Signed-off-by: Su Yue <l@damenly.su>
> ---
>   fs/btrfs/volumes.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
> index 77cdb75acc15..9ee17b2ff621 100644
> --- a/fs/btrfs/volumes.c
> +++ b/fs/btrfs/volumes.c
> @@ -6669,8 +6669,6 @@ blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
>    *
>    * If devid and uuid are both specified, the match must be exact, otherwise
>    * only devid is used.
> - *
> - * If @seed is true, traverse through the seed devices.
>    */
>   struct btrfs_device *btrfs_find_device(struct btrfs_fs_devices *fs_devices,
>   				       u64 devid, u8 *uuid, u8 *fsid)
> 


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

* Re: [PATCH] btrfs: remove comment for argument seed of btrfs_find_device
  2021-04-25  8:35 [PATCH] btrfs: remove comment for argument seed of btrfs_find_device Su Yue
  2021-04-26  3:02 ` Anand Jain
@ 2021-04-28 17:21 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2021-04-28 17:21 UTC (permalink / raw)
  To: Su Yue; +Cc: linux-btrfs

On Sun, Apr 25, 2021 at 04:35:04PM +0800, Su Yue wrote:
> Commit b2598edf8b36 ("btrfs: remove unused argument seed from
> btrfs_find_device") removed the argument seed from btrfs_find_device
> but forgot the comment, so remove it.
> 
> Signed-off-by: Su Yue <l@damenly.su>

Added to msic-next, thanks.

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

end of thread, other threads:[~2021-04-28 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25  8:35 [PATCH] btrfs: remove comment for argument seed of btrfs_find_device Su Yue
2021-04-26  3:02 ` Anand Jain
2021-04-28 17:21 ` David Sterba

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.