[PATCH vfs-2.6 6/6] vfs: add LOOKUP_RENAME_TARGET intent
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Wed, 15 Oct 2008 22:50:29 +0000 (07:50 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Oct 2008 09:13:20 +0000 (05:13 -0400)
commit4e9ed2f85af7adfa7c3f0efa839a53186254fdcb
treed59efd278d8d8474d9869211ba4424143ea84b75
parent0612d9fb270a474fe6a46cc5b8d3f5b71cf5f580
[PATCH vfs-2.6 6/6] vfs: add LOOKUP_RENAME_TARGET intent

This adds LOOKUP_RENAME_TARGET intent for lookup of rename destination.

LOOKUP_RENAME_TARGET is going to be used like LOOKUP_CREATE. But since
the destination of rename() can be existing directory entry, so it has a
difference. Although that difference doesn't matter in my usage, this
tells it to user of this intent.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fs/namei.c
include/linux/namei.h