vfs: create vfs helper vfs_tmpfile()
authorAmir Goldstein <amir73il@gmail.com>
Tue, 17 Jan 2017 04:34:52 +0000 (06:34 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 7 Feb 2017 14:05:04 +0000 (15:05 +0100)
commitaf7bd4dc13093bf1477f370722bbab24cf457b91
tree1424d6ecf138d80908c34e0f8d7b04a62adf3026
parent7ce7d89f48834cefece7804d38fc5d85382edf77
vfs: create vfs helper vfs_tmpfile()

Factor out some common vfs bits from do_tmpfile()
to be used by overlayfs for concurrent copy up.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/namei.c
include/linux/fs.h