diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-02-20 10:00:19 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-03-17 17:04:22 +0300 |
commit | cad218ab3320789ea4621c15e56b8114a4160bab (patch) | |
tree | 5d58e9ba859320128d65648b9d9d01f15b012fde /fs/overlayfs/overlayfs.h | |
parent | bccece1ead368149f90e05ad104dfbfda4422f5d (diff) | |
download | linux-cad218ab3320789ea4621c15e56b8114a4160bab.tar.xz |
ovl: check if upper fs supports RENAME_WHITEOUT
As with other required upper fs features, we only warn if support is
missing to avoid breaking existing sub-optimal setups.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index 70d17040ab4d..ea531b1075f2 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -453,6 +453,7 @@ struct ovl_cattr { struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry, struct ovl_cattr *attr); int ovl_cleanup(struct inode *dir, struct dentry *dentry); +struct dentry *ovl_lookup_temp(struct dentry *workdir); struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr); /* file.c */ |