diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/conch-fetch.c | 8 | ||||
-rw-r--r-- | libdiskfs/conch-set.c | 2 | ||||
-rw-r--r-- | libdiskfs/dir-chg.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libdiskfs/conch-fetch.c b/libdiskfs/conch-fetch.c index c4839ba3..164b32ea 100644 --- a/libdiskfs/conch-fetch.c +++ b/libdiskfs/conch-fetch.c @@ -38,7 +38,7 @@ ioserver_fetch_shared_data (void *arg) { /* The user can validly set the size, but block the attempt if we are readonly. */ - if (readonly) + if (diskfs_readonly) cred->mapped->file_size = cred->po->np->dn_stat.st_size; else { @@ -49,12 +49,12 @@ ioserver_fetch_shared_data (void *arg) cred->po->filepointer = cred->mapped->xx_file_pointer; - if (!readonly) + if (!diskfs_readonly) { if (cred->mapped->written) - cred->po->ip->dn_set_mtime = 1; + cred->po->np->dn_set_mtime = 1; if (cred->mapped->accessed) - cred->po->ip->dn_set_atime = 1; + cred->po->np->dn_set_atime = 1; } cred->mapped->written = 0; cred->mapped->accessed = 0; diff --git a/libdiskfs/conch-set.c b/libdiskfs/conch-set.c index 5110096b..78af7750 100644 --- a/libdiskfs/conch-set.c +++ b/libdiskfs/conch-set.c @@ -30,7 +30,7 @@ ioserver_put_shared_data (void *arg) cred->mapped->append_mode = (cred->po->openstat & O_APPEND); cred->mapped->eof_notify = 0; - cred->mapped->do_sigio = 0; + cred->mapped->do_sigio = (cred->po->openstat & O_FSYNC); cred->mapped->use_file_size = 1; cred->mapped->use_read_size = 0; cred->mapped->optimal_transfer_size = cred->po->np->dn_stat.st_blksize; diff --git a/libdiskfs/dir-chg.c b/libdiskfs/dir-chg.c index 4c79fa27..d5823379 100644 --- a/libdiskfs/dir-chg.c +++ b/libdiskfs/dir-chg.c @@ -17,7 +17,7 @@ #include "priv.h" #include "fs_S.h" -#include "msg.h" +#include "ourmsg_U.h" kern_return_t diskfs_S_dir_notice_changes (struct protid *cred, |