commit | 37456771c58be10dd813fb4510035d0d67a969aa | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 23 15:15:34 2014 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 07 14:40:09 2014 -0400 |
tree | 4532039773a41c234ed5f4029b7c22a3c4c7a6e0 | |
parent | 3b69ff51d087d265aa4af3a532fc4f20bf33e718 [diff] |
shmem: support RENAME_EXCHANGE This is really simple in tmpfs since the VFS already takes care of shuffling the dentries. Just adjust nlink on parent directories and touch c & mtimes. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>