summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:40:41 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:40:41 +0000
commit86917d47bf56eae9a002deedb2b57f8a095970f8 (patch)
treec6d138e92def6aab2d67756de8df94d8847aab46
parent22a5090b5cd83c8358bd367d07cf51067ce32e85 (diff)
(diskfs_S_dir_unlink): Use diskfs_check_readonly instead of diskfs_readonly.
-rw-r--r--libdiskfs/dir-unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index bd02ec32..34fe0b67 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -34,7 +34,7 @@ diskfs_S_dir_unlink (struct protid *dircred,
return EOPNOTSUPP;
dnp = dircred->po->np;
- if (diskfs_readonly)
+ if (diskfs_check_readonly ())
return EROFS;
mutex_lock (&dnp->lock);