Re: [PATCH 2/2] btrfs: Use reada_control pointer instead of void pointer

2021-04-07 Thread riteshh
On 21/04/06 11:24AM, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > Since struct reada_control is defined in ctree.h, > Use struct reada_control pointer as a function argument for > btrfs_reada_wait() instead of a void pointer in order > to avoid type-casting within the function. > > Signe

Re: [PATCH 2/2] btrfs: Use reada_control pointer instead of void pointer

2021-04-06 Thread Anand Jain
On 07/04/2021 00:24, Goldwyn Rodrigues wrote: From: Goldwyn Rodrigues Since struct reada_control is defined in ctree.h, Use struct reada_control pointer as a function argument for btrfs_reada_wait() instead of a void pointer in order > to avoid type-casting within the function. yep. Signed

[PATCH 2/2] btrfs: Use reada_control pointer instead of void pointer

2021-04-06 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues Since struct reada_control is defined in ctree.h, Use struct reada_control pointer as a function argument for btrfs_reada_wait() instead of a void pointer in order to avoid type-casting within the function. Signed-off-by: Goldwyn Rodrigues --- fs/btrfs/ctree.h | 2 +- f