Re: [PATCH] rbd: fix spelling mistake: "reregisteration" -> "re-registration"
From: Ilya Dryomov
Date: Tue Mar 20 2018 - 10:49:54 EST
On Tue, Mar 20, 2018 at 11:39 AM, Colin Ian King
<colin.king@xxxxxxxxxxxxx> wrote:
> On 20/03/18 10:35, Dongsheng Yang wrote:
>> Hi Colin,
>>
>> On 03/19/2018 09:33 PM, Colin King wrote:
>>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>>
>>> Trivial fix to spelling mistake in rdb_warn message text
>>>
>>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>> ---
>>> drivers/block/rbd.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
>>> index 1e03b04819c8..7b97240ff15e 100644
>>> --- a/drivers/block/rbd.c
>>> +++ b/drivers/block/rbd.c
>>> @@ -3887,7 +3887,7 @@ static void rbd_reregister_watch(struct
>>> work_struct *work)
>>> ret = rbd_dev_refresh(rbd_dev);
>>> if (ret)
>>> - rbd_warn(rbd_dev, "reregisteration refresh failed: %d", ret);
>>> + rbd_warn(rbd_dev, "re-registrationrefresh failed: %d", ret);
>>
>> Hmmm, I am not sure is that a spelling mistake, because the function
>> name is rbd_reregister_watch().
>
> OK, well reregisteration should be reregistration then.
I went ahead and applied the change to "reregistration".
Thanks,
Ilya