|
@@ -26,6 +26,10 @@ enum ovl_path_type {
|
|
|
#define OVL_XATTR_ORIGIN OVL_XATTR_PREFIX "origin"
|
|
|
#define OVL_XATTR_IMPURE OVL_XATTR_PREFIX "impure"
|
|
|
|
|
|
+enum ovl_flag {
|
|
|
+ OVL_IMPURE,
|
|
|
+};
|
|
|
+
|
|
|
/*
|
|
|
* The tuple (fh,uuid) is a universal unique identifier for a copy up origin,
|
|
|
* where:
|
|
@@ -195,7 +199,6 @@ struct inode *ovl_inode_real(struct inode *inode);
|
|
|
struct ovl_dir_cache *ovl_dir_cache(struct dentry *dentry);
|
|
|
void ovl_set_dir_cache(struct dentry *dentry, struct ovl_dir_cache *cache);
|
|
|
bool ovl_dentry_is_opaque(struct dentry *dentry);
|
|
|
-bool ovl_dentry_is_impure(struct dentry *dentry);
|
|
|
bool ovl_dentry_is_whiteout(struct dentry *dentry);
|
|
|
void ovl_dentry_set_opaque(struct dentry *dentry);
|
|
|
bool ovl_redirect_dir(struct super_block *sb);
|
|
@@ -215,6 +218,8 @@ int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry,
|
|
|
const char *name, const void *value, size_t size,
|
|
|
int xerr);
|
|
|
int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
|
|
|
+void ovl_set_flag(unsigned long flag, struct inode *inode);
|
|
|
+bool ovl_test_flag(unsigned long flag, struct inode *inode);
|
|
|
|
|
|
static inline bool ovl_is_impuredir(struct dentry *dentry)
|
|
|
{
|