diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-07-04 23:03:16 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-07-04 23:03:16 +0300 |
commit | 13c72075ac9f5a5cf3f61c85adaafffe48a6f797 (patch) | |
tree | 9e9232d1fe91ad0bad85982656ce070129a29110 /fs/overlayfs/namei.c | |
parent | cf31c46347e8e54cb53d66255ae3eea045b0a60c (diff) | |
download | linux-13c72075ac9f5a5cf3f61c85adaafffe48a6f797.tar.xz |
ovl: move impure to ovl_inode
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/namei.c')
-rw-r--r-- | fs/overlayfs/namei.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/overlayfs/namei.c b/fs/overlayfs/namei.c index 1b6092b80330..277a55c8299a 100644 --- a/fs/overlayfs/namei.c +++ b/fs/overlayfs/namei.c @@ -341,7 +341,6 @@ struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, unsigned int ctr = 0; struct inode *inode = NULL; bool upperopaque = false; - bool upperimpure = false; char *upperredirect = NULL; struct dentry *this; unsigned int i; @@ -386,8 +385,6 @@ struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, poe = roe; } upperopaque = d.opaque; - if (upperdentry && d.is_dir) - upperimpure = ovl_is_impuredir(upperdentry); } if (!d.stop && poe->numlower) { @@ -434,7 +431,6 @@ struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, goto out_put; oe->opaque = upperopaque; - oe->impure = upperimpure; memcpy(oe->lowerstack, stack, sizeof(struct path) * ctr); dentry->d_fsdata = oe; |