diff options
Diffstat (limited to 'fs/overlayfs/super.c')
-rw-r--r-- | fs/overlayfs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 07e4c576e93e..c245043aa1b9 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c | |||
@@ -81,6 +81,9 @@ enum ovl_path_type ovl_path_type(struct dentry *dentry) | |||
81 | } else if (!oe->opaque) { | 81 | } else if (!oe->opaque) { |
82 | type |= __OVL_PATH_PURE; | 82 | type |= __OVL_PATH_PURE; |
83 | } | 83 | } |
84 | } else { | ||
85 | if (oe->numlower > 1) | ||
86 | type |= __OVL_PATH_MERGE; | ||
84 | } | 87 | } |
85 | return type; | 88 | return type; |
86 | } | 89 | } |