mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
fuse: only invalidate atime in direct read
After sending a synchronous READ request from __fuse_direct_read() we only need to invalidate atime; none of the other attributes should be changed by a read(). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
802dc0497b
commit
9a2eb24d1a
1 changed files with 1 additions and 1 deletions
|
@ -1419,7 +1419,7 @@ static ssize_t __fuse_direct_read(struct fuse_io_priv *io,
|
|||
|
||||
res = fuse_direct_io(io, iter, ppos, 0);
|
||||
|
||||
fuse_invalidate_attr(inode);
|
||||
fuse_invalidate_atime(inode);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue