ovl: Enable metadata only feature
authorVivek Goyal <vgoyal@redhat.com>
Fri, 11 May 2018 15:49:33 +0000 (11:49 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 20 Jul 2018 07:56:17 +0000 (09:56 +0200)
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>
fs/overlayfs/copy_up.c

index d8331f8..296037a 100644 (file)
@@ -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;