diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-05-23 23:54:27 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-05-31 00:06:18 +0300 |
commit | 57c55cd7c77b81827757fdbe8dda8c3927c52b4e (patch) | |
tree | 8b8d5fa36f718efe9506d425986197369126c3f1 /fs/cifs/cifs_debug.c | |
parent | e0386e449af3e893cd811c4c932829b981c83817 (diff) | |
download | linux-57c55cd7c77b81827757fdbe8dda8c3927c52b4e.tar.xz |
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 'fs/cifs/cifs_debug.c')
0 files changed, 0 insertions, 0 deletions