diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-05-24 06:54:27 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-05-30 16:06:18 -0500 |
commit | 57c55cd7c77b81827757fdbe8dda8c3927c52b4e (patch) | |
tree | 8b8d5fa36f718efe9506d425986197369126c3f1 /mm/Makefile | |
parent | e0386e449af3e893cd811c4c932829b981c83817 (diff) | |
download | linux-57c55cd7c77b81827757fdbe8dda8c3927c52b4e.tar.bz2 |
cifs: invalidate cache when we truncate a file
RHBZ: 1566345
When truncating a file we always do this synchronously to the server.
Thus we need to make sure that the cached inode metadata is
marked as stale so that on next getattr we will refresh the metadata.
In this particular bug we want to ensure that both ctime and mtime
are updated and become visible to the application after a truncate.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reported-by: Xiaoli Feng <xifeng@redhat.com>
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions