summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/node-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c
index e6179906..3f8dc4c1 100644
--- a/libdiskfs/node-create.c
+++ b/libdiskfs/node-create.c
@@ -37,7 +37,7 @@ diskfs_create_node (struct node *dir,
uid_t newuid;
gid_t newgid;
- if (diskfs_readonly)
+ if (diskfs_check_readonly ())
return EROFS;
/* Make the node */