From: Miklos Szeredi Date: Wed, 23 Jul 2014 13:15:30 +0000 (+0200) Subject: fs: call rename2 if exists X-Git-Tag: cleanup-for-v3.18~46^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7177a9c4b509;p=pandora-kernel.git fs: call rename2 if exists Christoph Hellwig suggests: 1) make vfs_rename call ->rename2 if it exists instead of ->rename 2) switch all filesystems that you're adding NOREPLACE support for to use ->rename2 3) see how many ->rename instances we'll have left after a few iterations of 2. Signed-off-by: Miklos Szeredi Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed