shmem: support RENAME_NOREPLACE
commit3b69ff51d087d265aa4af3a532fc4f20bf33e718
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 23 Jul 2014 13:15:33 +0000 (23 15:15 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 18:40:09 +0000 (7 14:40 -0400)
tree961659a736ae216eee0684c26c0dca8f6c92323f
parent80ace85c915d0f41016f82917218997b72431258
shmem: support RENAME_NOREPLACE

Implement ->rename2 instead of ->rename.

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>
mm/shmem.c