ovl: get rid of PURE type
The remainging uses of __OVL_PATH_PURE can be replaced by ovl_dentry_is_opaque(). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
@@ -80,12 +80,10 @@ enum ovl_path_type ovl_path_type(struct dentry *dentry)
|
||||
|
||||
/*
|
||||
* Non-dir dentry can hold lower dentry from previous
|
||||
* location. Its purity depends only on opaque flag.
|
||||
* location.
|
||||
*/
|
||||
if (oe->numlower && S_ISDIR(dentry->d_inode->i_mode))
|
||||
type |= __OVL_PATH_MERGE;
|
||||
else if (!oe->opaque)
|
||||
type |= __OVL_PATH_PURE;
|
||||
} else {
|
||||
if (oe->numlower > 1)
|
||||
type |= __OVL_PATH_MERGE;
|
||||
|
Reference in New Issue
Block a user