summaryrefslogtreecommitdiff
path: root/fs/overlayfs/export.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-03-15 05:31:37 +0300
committerAmir Goldstein <amir73il@gmail.com>2023-06-19 14:01:12 +0300
commita6ff2bc0be179eea72832b5396481a08ccd22d5a (patch)
tree4b939e68c2d6eb8944c52c218451d9f7e8e15c63 /fs/overlayfs/export.c
parentb07d5cc93e1b28df47a72c519d09d0a836043613 (diff)
downloadlinux-a6ff2bc0be179eea72832b5396481a08ccd22d5a.tar.xz
ovl: use OVL_E() and OVL_E_FLAGS() accessors
Instead of open coded instances, because we are about to split the two apart. Reviewed-by: Alexander Larsson <alexl@redhat.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/export.c')
-rw-r--r--fs/overlayfs/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c
index 5c36fb3a7bab..2cfdfcca5659 100644
--- a/fs/overlayfs/export.c
+++ b/fs/overlayfs/export.c
@@ -341,7 +341,7 @@ out_iput:
/* Get the upper or lower dentry in stack whose on layer @idx */
static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx)
{
- struct ovl_entry *oe = dentry->d_fsdata;
+ struct ovl_entry *oe = OVL_E(dentry);
int i;
if (!idx)