summaryrefslogtreecommitdiff
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-05-23 23:54:27 +0300
committerSteve French <stfrench@microsoft.com>2018-05-31 00:06:18 +0300
commit57c55cd7c77b81827757fdbe8dda8c3927c52b4e (patch)
tree8b8d5fa36f718efe9506d425986197369126c3f1 /fs/cifs/cifs_debug.c
parente0386e449af3e893cd811c4c932829b981c83817 (diff)
downloadlinux-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