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

Dan Carpenter dan.carpenter at oracle.com
Mon Dec 5 12:57:15 PST 2016


On Fri, Dec 02, 2016 at 07:53:12PM -0500, James Simmons wrote:
> From: wang di <di.wang at intel.com>
> 
> 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



More information about the lustre-devel mailing list