]> git.baikalelectronics.ru Git - kernel.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)
commit1b626fb568db9c4ebbdedc7f34a4244eab62c6b9
tree00d5b982c1811083138f3ee7a614834bad87c32e
parenta6fcb10d075d3aa951aab5fa49778299f1221965
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