ovl: check if upperdir fs supports O_TMPFILE
authorAmir Goldstein <amir73il@gmail.com>
Tue, 17 Jan 2017 04:34:53 +0000 (06:34 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 7 Feb 2017 14:47:14 +0000 (15:47 +0100)
commite7f52429b4a5b2e3224948d1737eb264c8f7e15f
treec3d1a5bec15caa0f01768772f9bc7334ff7dfd43
parentbfe219d373cadab761373aeea4c70406bc27ea2c
ovl: check if upperdir fs supports O_TMPFILE

This is needed for choosing between concurrent copyup
using O_TMPFILE and legacy copyup using workdir+rename.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/overlayfs.h
fs/overlayfs/ovl_entry.h
fs/overlayfs/super.c