Message ID | 20210425083504.5187-1-l@damenly.su (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: remove comment for argument seed of btrfs_find_device | expand |
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) >
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.
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)
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(-)