diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-06 10:29:42 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-06 11:07:23 +0200 |
commit | f8df458f239de38d29be3161f46cd7fba74bdacf (patch) | |
tree | 904d35cb56859ad8e26491f074b7d8bbc575a990 /sshfs.c | |
parent | e2a4bc904e90dd05264472a9e7c8dfeb8e1d919d (diff) | |
download | sshfs-f8df458f239de38d29be3161f46cd7fba74bdacf.tar sshfs-f8df458f239de38d29be3161f46cd7fba74bdacf.tar.gz sshfs-f8df458f239de38d29be3161f46cd7fba74bdacf.tar.bz2 sshfs-f8df458f239de38d29be3161f46cd7fba74bdacf.zip |
Actually disable writeback cache, instead of just claiming to do so.
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3901,9 +3901,11 @@ int main(int argc, char *argv[]) exit(1); } - if(sshfs.writeback_cache) + if(sshfs.writeback_cache) { printf("NOTICE: writeback cache is disabled in this release due to potential\n" "dataloss. It will be re-enabled in a future SSHFS release.\n"); + sshfs.writeback_cache = 0; + } if (sshfs.idmap == IDMAP_USER) sshfs.detect_uid = 1; |