diff options
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c index c0a7a0d7..36fcfd58 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -161,7 +161,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type, inum = 0; - if (!diskfs_readonly) + if (!diskfs_check_readonly ()) dp->dn_set_atime = 1; for (blockaddr = buf, idx = 0; @@ -178,7 +178,7 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type, } } - if (!diskfs_readonly) + if (!diskfs_check_readonly ()) dp->dn_set_atime = 1; if (diskfs_synchronous) diskfs_node_update (dp, 1); @@ -692,7 +692,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred) mach_port_deallocate (mach_task_self (), memobj); assert (!err); - if (! diskfs_readonly) + if (! diskfs_check_readonly ()) dp->dn_set_atime = 1; for (curoff = buf; @@ -709,7 +709,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred) hit = 1; } - if (! diskfs_readonly) + if (! diskfs_check_readonly ()) dp->dn_set_atime = 1; if (diskfs_synchronous) diskfs_node_update (dp, 1); |