* keyring.c (rename_tmp_file): Force a fsync (via iobuf_ioctl) on
authorDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Mar 2009 20:55:47 +0000 (20:55 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Mar 2009 20:55:47 +0000 (20:55 +0000)
commit79f31e85dbb7a67c62e7d2365afbf1e139fb43ff
tree46567f00dffe3bad13ce5983b03ef008ca192483
parentda66b1d69e793cb5bc714caedef60f8de8dbfd7c
* keyring.c (rename_tmp_file): Force a fsync (via iobuf_ioctl) on
secret keyring files to be extra safe on filesystems that may not sync
data and metadata together (ext4).  Also check return code from the
cache invalidation to make sure we're safe over NFS and similar.
g10/ChangeLog
g10/keyring.c