f2fs: support ->rename2()
authorChao Yu <chao2.yu@samsung.com>
Sat, 12 Jul 2014 11:13:54 +0000 (19:13 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Jul 2014 15:14:08 +0000 (08:14 -0700)
commit32f9bc25cbda00410e2379c58ae027e88bf24770
tree3f8ae051e3383f1842ef60bf0126ca13d17193f4
parent79e35dc3c23dd2ac9f8681361026c82b71a0b006
f2fs: support ->rename2()

Now new interface ->rename2() is added to VFS, here are related description:
https://lkml.org/lkml/2014/2/7/873
https://lkml.org/lkml/2014/2/7/758

This patch adds function f2fs_rename2() to support ->rename2() including
handling both RENAME_EXCHANGE and RENAME_NOREPLACE flag.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c