commit | 80ace85c915d0f41016f82917218997b72431258 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 23 15:15:32 2014 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 07 14:40:09 2014 -0400 |
tree | 59fa51e5968e831c5079a148f21f58b099fdb13b | |
parent | a0dbc56610b3e157f19241404e738744b7e7877e [diff] |
btrfs: add RENAME_NOREPLACE RENAME_NOREPLACE is trivial to implement for most filesystems: switch over to ->rename2() and check for the supported flags. The rest is done by the VFS. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Chris Mason <clm@fb.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>