diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-16 13:44:20 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-16 13:44:20 +0300 |
commit | 598e3c8f72f5b77c84d2cb26cfd936ffb3cfdbaa (patch) | |
tree | 485f1dd152279acde134219e011f3f1dadbe5495 /firmware/keyspan/usa28xa.HEX | |
parent | f2b20f6ee842313a0d681dbbf7f87b70291a6a3b (diff) | |
download | linux-598e3c8f72f5b77c84d2cb26cfd936ffb3cfdbaa.tar.xz |
vfs: update ovl inode before relatime check
On overlayfs relatime_need_update() needs inode times to be correct on
overlay inode. But i_mtime and i_ctime are updated by filesystem code on
underlying inode only, so they will be out-of-date on the overlay inode.
This patch copies the times from the underlying inode if needed. This
can't be done if called from RCU lookup (link following) but link m/ctime
are not updated by fs, so this is all right.
This patch doesn't change functionality for anything but overlayfs.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'firmware/keyspan/usa28xa.HEX')
0 files changed, 0 insertions, 0 deletions