Re: [PATCH 05/22] staging: lustre: lmv: remove nlink check in lmv_revalidate_slaves

From: Dan Carpenter
Date: Mon Dec 05 2016 - 15:58:08 EST


On Fri, Dec 02, 2016 at 07:53:12PM -0500, James Simmons wrote:
> From: wang di <di.wang@xxxxxxxxx>
>
> Remove nlink < 2 check in lmv_revalidate_slaves, because
> after nlink reaches to LDISKFS_LINK_MAX (65000), the inode
> nlink will be set to 1.
>

I don't understand how this changelog matches the patch...

The changelog says we're removing a check but really this is a NULL
dereference fix, right? We're not really removing a check at all, just
changing it for something else. We do remove a printk, though.

regards,
dan carpenter