projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH vfs-2.6 6/6] vfs: add LOOKUP_RENAME_TARGET intent
[deliverable/linux.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index 18894fdf048a11f178df94b38ae2dd42cbab1154..9e2a534383d9f3c26780e4ae937d3b52df16cfc9 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2654,6
+2654,7
@@
asmlinkage long sys_renameat(int olddfd, const char __user *oldname,
oldnd.flags &= ~LOOKUP_PARENT;
newnd.flags &= ~LOOKUP_PARENT;
+ newnd.flags |= LOOKUP_RENAME_TARGET;
trap = lock_rename(new_dir, old_dir);
This page took
0.026821 seconds
and
5
git commands to generate.