The patch titled vfs: add LOOKUP_RENAME_TARGET intent has been removed from the -mm tree. Its filename was vfs-add-lookup_rename_target-intent.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vfs: add LOOKUP_RENAME_TARGET intent From: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> 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 tells it to user of this intent. Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/namei.c | 1 + include/linux/namei.h | 1 + 2 files changed, 2 insertions(+) diff -puN fs/namei.c~vfs-add-lookup_rename_target-intent fs/namei.c --- a/fs/namei.c~vfs-add-lookup_rename_target-intent +++ a/fs/namei.c @@ -2684,6 +2684,7 @@ asmlinkage long sys_renameat(int olddfd, oldnd.flags &= ~LOOKUP_PARENT; newnd.flags &= ~LOOKUP_PARENT; + newnd.flags |= LOOKUP_RENAME_TARGET; trap = lock_rename(new_dir, old_dir); diff -puN include/linux/namei.h~vfs-add-lookup_rename_target-intent include/linux/namei.h --- a/include/linux/namei.h~vfs-add-lookup_rename_target-intent +++ a/include/linux/namei.h @@ -54,6 +54,7 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LA #define LOOKUP_OPEN 0x0100 #define LOOKUP_CREATE 0x0200 #define LOOKUP_EXCL 0x0400 +#define LOOKUP_RENAME_TARGET 0x0800 extern int user_path_at(int, const char __user *, unsigned, struct path *); _ Patches currently in -mm which might be from hirofumi@xxxxxxxxxxxxxxxxxx are linux-next.patch fat-document-additional-vfat-mount-options.patch fat-move-fs-vfat-and-fs-msdos-to-fs-fat.patch fat-split-include-msdos_fsh.patch fat-fix-and-cleanup-timestamp-conversion.patch fat-use-generic_file_llseek-for-directory.patch fat-cleanup-fat_parse_long-error-handling.patch fat-improve-fat_hash.patch fat-fix-fat_ent_update_ptr-for-fat12.patch fat-use-fat_detach-in-fat_clear_inode.patch vfat-fix-vfat_find-error-path-in-vfat_lookup.patch fat-fix-cleanup-dcache-handling-for-vfat.patch fat-kill-d_invalidate-in-vfat_lookup.patch fat-cleanup-msdos_lookup.patch fat-cleanup-fat-attribute-stuff.patch fat-fix-attr_ro-in-the-case-of-umask-s_wugo-==-0.patch fat-fix-attr_ro-for-directory.patch fat-fix-_fat_bmap-race.patch fat-add-printf-attribute-to-fat_fs_panic.patch fat-mmu_private-race-fix.patch fat-i_pos-race-fix.patch fat-i_blocks-warning-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html