diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-18 15:44:43 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-18 15:44:43 +0200 |
commit | c6718543463dbb78486ad259f884cb800df802b5 (patch) | |
tree | b4308ae8bbb3de221e1f7817b8e17705a6908e18 /fs/namei.c | |
parent | 88059de155d4db817a3a78ba899cb3b7f4de0fb0 (diff) | |
download | linux-stable-c6718543463dbb78486ad259f884cb800df802b5.tar.gz linux-stable-c6718543463dbb78486ad259f884cb800df802b5.tar.bz2 linux-stable-c6718543463dbb78486ad259f884cb800df802b5.zip |
Revert "vfs: update ovl inode before relatime check"
This reverts commit 598e3c8f72f5b77c84d2cb26cfd936ffb3cfdbaa.
Overlayfs no longer relies on the vfs correct atime handling.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index d152cc05fdc3..31182b71b313 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1015,7 +1015,7 @@ const char *get_link(struct nameidata *nd) if (!(nd->flags & LOOKUP_RCU)) { touch_atime(&last->link); cond_resched(); - } else if (atime_needs_update_rcu(&last->link, inode)) { + } else if (atime_needs_update(&last->link, inode)) { if (unlikely(unlazy_walk(nd))) return ERR_PTR(-ECHILD); touch_atime(&last->link); |