From: Joseph Qi Date: Tue, 14 Apr 2015 22:43:22 +0000 (-0700) Subject: ocfs2: use actual name length when find entry in ocfs2_orphan_del() X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e38a573907383b3c57514fe2331322b1fc110eef;p=pandora-kernel.git ocfs2: use actual name length when find entry in ocfs2_orphan_del() If the namelen is 20 and name only has actual length 16, it will fail in ocfs2_find_entry because of mismatch. So use actual name length when find entry. Signed-off-by: Joseph Qi Signed-off-by: Yiwen Jiang Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed