summaryrefslogtreecommitdiff
path: root/fs/overlayfs/super.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2018-07-18 16:44:43 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-18 16:44:43 +0300
commit88059de155d4db817a3a78ba899cb3b7f4de0fb0 (patch)
tree21e666328a80e7069439565cca55c37387f42a47 /fs/overlayfs/super.c
parenta6795a585929d94ca3e931bc8518f8deb8bbe627 (diff)
downloadlinux-88059de155d4db817a3a78ba899cb3b7f4de0fb0.tar.xz
Revert "ovl: fix relatime for directories"
This reverts commit cd91304e7190b4c4802f8e413ab2214b233e0260. Overlayfs no longer relies on the vfs correct atime handling. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/super.c')
-rw-r--r--fs/overlayfs/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 211975921a90..a7e2287e4b8f 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -101,9 +101,6 @@ static struct dentry *ovl_d_real(struct dentry *dentry,
if (inode && d_inode(dentry) == inode)
return dentry;
- if (flags & D_REAL_UPPER)
- return ovl_dentry_upper(dentry);
-
if (!d_is_reg(dentry)) {
if (!inode || inode == d_inode(dentry))
return dentry;