From: Miklos Szeredi Date: Wed, 23 Jul 2014 13:15:32 +0000 (+0200) Subject: btrfs: add RENAME_NOREPLACE X-Git-Tag: cleanup-for-v3.18~46^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ace85c915d0f41016f82917218997b72431258;p=pandora-kernel.git 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 Cc: Chris Mason Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed