diff options
author | 2008-10-16 07:50:28 +0900 | |
---|---|---|
committer | 2008-10-23 05:13:16 -0400 | |
commit | e2761a1167633ed943fea29002f990194923d060 (patch) | |
tree | e91816e85c7721fcff72e5f84336b1dde9d1ac17 /net/unix/af_unix.c | |
parent | [PATCH vfs-2.6 1/6] vfs: replace parent == dentry->d_parent by IS_ROOT() (diff) | |
download | wireguard-linux-e2761a1167633ed943fea29002f990194923d060.tar.xz wireguard-linux-e2761a1167633ed943fea29002f990194923d060.zip |
[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 <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions