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/dir.c | |
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/dir.c')
-rw-r--r-- | fs/overlayfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c index b3471ef51440..c91b5aae8e32 100644 --- a/fs/overlayfs/dir.c +++ b/fs/overlayfs/dir.c @@ -42,7 +42,7 @@ int ovl_cleanup(struct inode *wdir, struct dentry *wdentry) return err; } -static struct dentry *ovl_lookup_temp(struct dentry *workdir) +struct dentry *ovl_lookup_temp(struct dentry *workdir) { struct dentry *temp; char name[20]; |