From: OGAWA Hirofumi Date: Wed, 15 Oct 2008 22:50:28 +0000 (+0900) Subject: [PATCH vfs-2.6 2/6] vfs: add d_ancestor() X-Git-Tag: v2.6.28-rc1~24^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2761a1167633ed943fea29002f990194923d060;p=pandora-kernel.git [PATCH vfs-2.6 2/6] vfs: add d_ancestor() This adds d_ancestor() instead of d_isparent(), then use it. If new_dentry == old_dentry, is_subdir() returns 1, looks strange. "new_dentry == old_dentry" is not subdir obviously. But I'm not checking callers for now, so this keeps current behavior. Signed-off-by: OGAWA Hirofumi --- Reading git-diff-tree failed