]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
afs: Flush outstanding writes when an fd is closed
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:45 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:45 +0000 (16:27 +0000)
commit58fed94dfb17e89556b5705f20f90e5b2971b6a1
tree00d5b982c1811083138f3ee7a614834bad87c32e
parente8e581a88c5f5fc7cf1f636d122b77fbcfc8c2f6
afs: Flush outstanding writes when an fd is closed

Flush outstanding writes in afs when an fd is closed.  This is what NFS and
CIFS do.

Reported-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/file.c
fs/afs/internal.h
fs/afs/write.c