On Mon, Sep 04, 2017 at 09:12:38PM +0900, Tetsuo Handa wrote: > Hello. > > I hit kmemcheck splat on commit 49d31c2f389acfe8 ("dentry name snapshots") using linux-next-20170901. > Changing to strncpy() fixes this problem, but using strncpy() only if CONFIG_KMEMCHECK=y is better > for performance? *shrug* If anything, use dentry->d_name.len + 1 instead of DNAME_INLINE_LEN there, but that's really a false positive.