summaryrefslogtreecommitdiff
path: root/fs/overlayfs/export.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2018-03-20 16:35:40 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2018-04-12 12:04:49 +0200
commit0471a9cdb00ff4a84e781c6dc4b0f87297bac1ed (patch)
treeafb14ab38ef60ab03ba9d69fcb68ab5ed0296467 /fs/overlayfs/export.c
parent102b0d11cbe83e607a8e9060c05930905332f9ec (diff)
ovl: cleanup setting OVL_INDEX
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/export.c')
-rw-r--r--fs/overlayfs/export.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c
index ed73e363c7b1..bb290cd1e727 100644
--- a/fs/overlayfs/export.c
+++ b/fs/overlayfs/export.c
@@ -311,9 +311,6 @@ static struct dentry *ovl_obtain_alias(struct super_block *sb,
return ERR_CAST(inode);
}
- if (index)
- ovl_set_flag(OVL_INDEX, inode);
-
dentry = d_find_any_alias(inode);
if (!dentry) {
dentry = d_alloc_anon(inode->i_sb);