summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:39:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:39:48 +0000
commitbb3c3cc44d811ccf52bede5155960ef164c076ad (patch)
tree314cea0e9b2909a7d769a363e09f1b4c205e276d /libdiskfs
parent01c5a93e50f8f1186596c2f35bdf809b03c93f6c (diff)
(diskfs_S_dir_rename): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c
index 22f2fee6..7e993def 100644
--- a/libdiskfs/dir-rename.c
+++ b/libdiskfs/dir-rename.c
@@ -42,7 +42,7 @@ diskfs_S_dir_rename (struct protid *fromcred,
if (!tocred)
return EXDEV;
- if (diskfs_readonly)
+ if (diskfs_check_readonly ())
return EROFS;
fdp = fromcred->po->np;