projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
802dc04
)
fuse: only invalidate atime in direct read
author
Miklos Szeredi
<mszeredi@redhat.com>
Mon, 15 Oct 2018 13:43:06 +0000
(15:43 +0200)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Mon, 15 Oct 2018 13:43:06 +0000
(15:43 +0200)
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>
fs/fuse/file.c
patch
|
blob
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index f5507198ea00e0eda40c26ff4adfbabcd689a16a..58dbc39fea639ef5e0dc95dd830e47c9763ffe29 100644
(file)
--- a/
fs/fuse/file.c
+++ b/
fs/fuse/file.c
@@
-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_at
tr
(inode);
+ fuse_invalidate_at
ime
(inode);
return res;
}