Re: [PATCH] vfs: update atime using file->f_inode

2016-03-19 Thread Miklos Szeredi
On Sun, Jan 31, 2016 at 04:19:46PM +0300, Konstantin Khlebnikov wrote: > This fixes some cases of missing atime update for overlayfs. Problem is it will update atime on lower layer, even if it's explicitly marked read-only. Which I think is a pretty bad breakage of assumptions. The following pat

[PATCH] vfs: update atime using file->f_inode

2016-01-31 Thread Konstantin Khlebnikov
This fixes some cases of missing atime update for overlayfs. Signed-off-by: Konstantin Khlebnikov --- fs/inode.c | 15 +-- include/linux/fs.h |6 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/fs/inode.c b/fs/inode.c index 9f62db3bcc3e..6a4dd94c0