Windows: FlushFile ioctl should call cm_FSync, not buf_CleanVnode
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 28 Apr 2010 16:33:03 +0000 (12:33 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 2 May 2010 17:38:28 +0000 (10:38 -0700)
commit4f7bf8fb432ead9d0252e462cb627ab457c5b849
tree1afa8c77d95ea9406b2e8b2ef09c04a65292754b
parent1844719127f9e1202f6e1823a64f12286d9a2e1c
Windows: FlushFile ioctl should call cm_FSync, not buf_CleanVnode

When flushing a file, we need to commit the file length changes
as well as the dirty buffers.  Call cm_FSync instead of buf_CleanVnode
which is called by cm_FSync.

LICENSE MIT

Change-Id: Id21e49e0559d20fce3e1d65cb73496a8b6cb1fa1
Reviewed-on: http://gerrit.openafs.org/1875
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_ioctl.c