Re: [PATCH 2/2] radix-tree: fix a typo

From: Qiujun Huang
Date: Fri Mar 13 2020 - 19:16:35 EST


On Sat, Mar 14, 2020 at 3:12 AM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> On Sat, Mar 14, 2020 at 02:49:09AM +0800, Qiujun Huang wrote:
> > "iff" -> "if"
>
> > - * This function can be called under rcu_read_lock iff the slot is not
> > + * This function can be called under rcu_read_lock if the slot is not
>
> That's not a typo, it's a mathematician's shorthand for "if and only if".
> I'm not excited about fixing problems in the radix tree code; better to
> focus efforts on migrating users to the xarray.

I get that, thanks.

>
> http://git.infradead.org/users/willy/linux-dax.git/shortlog/refs/heads/xarray-conv
> is an out of date effort to do every user.