summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:45:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:45:19 +0000
commitae11f05490af379f1752babfa879472aca7463c8 (patch)
tree9214b8e0b026262106531b810b6f0289bb99df2d /libdiskfs
parentf3bb79714f3767aa92a75467d34ac0dfee73a21b (diff)
(diskfs_create_node): Use diskfs_check_readonly instead of diskfs_readonly.
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 */