diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-12-09 01:36:34 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-12-09 01:45:00 +0100 |
commit | 7f68a98c5cad19350f53b00203465c72641b8f58 (patch) | |
tree | 65af68947cf6d07bfca6dfc6263ee1e5d01f3f9d /startup | |
parent | ac30e16e8185883af52b4f45aad9f7a61e5c9911 (diff) |
Fix mode of nodes created with mkfile
Their faked field was not initialized.
Thanks a lot to Svante Signell for the investigation
* trans/fakeroot.c (new_node): Initialize faked field of nn to 0.
(netfs_attempt_mkfile): Call set_default_attributes on newly-allocated node,
and if the real mode is not the same as the requested mode, fake the mode.
Diffstat (limited to 'startup')
0 files changed, 0 insertions, 0 deletions