[Linux-stable-mirror] [added to the 4.1 stable tree] afs: Flush outstanding writes when an fd is closed