OSDN Git Service

f2fs: support ->tmpfile()
authorChao Yu <chao2.yu@samsung.com>
Thu, 19 Jun 2014 08:23:19 +0000 (16:23 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Jul 2014 21:04:24 +0000 (14:04 -0700)
commit50732df02eefb39ab414ef655979c2c9b64ad21c
treee8cb6cb0be5951f112ced0406d5bd0c6721aa60e
parentca0a81b397b5f153ac2a9880c5e85b08b0447e4e
f2fs: support ->tmpfile()

Add function f2fs_tmpfile() to support O_TMPFILE file creation, and modify logic
of init_inode_metadata to enable linkat temp file.

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