summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2018-05-11 11:49:33 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-20 09:56:17 +0200
commit989974c804574d250ac92d44e220081959ac8ac1 (patch)
tree7f01a14efd2e3c1185f931ebbe431aa20a34a231 /fs/overlayfs
parent935a074f48675374a655456ae75fe6be9e8c2388 (diff)
downloadlinux-989974c804574d250ac92d44e220081959ac8ac1.tar.bz2
ovl: Enable metadata only feature
All the bits are in patches before this. So it is time to enable the metadata only copy up feature. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r--fs/overlayfs/copy_up.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index d8331f817b95..296037afecdb 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -689,9 +689,6 @@ static bool ovl_need_meta_copy_up(struct dentry *dentry, umode_t mode,
{
struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
- /* TODO: Will enable metacopy in last patch of series */
- return false;
-
if (!ofs->config.metacopy)
return false;