summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-24 20:38:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-24 20:38:49 +0000
commit6d417d7bbd9deeb793706c96a6caa5d456dea76c (patch)
treede0eccd178a28d3e16b1823aeb5644268dc34b00
parent3d467ea643dd2aefa33d65be42b154f2960db7a5 (diff)
(diskfs_S_dir_mkdir): Use diskfs_check_readonly instead of diskfs_readonly.
-rw-r--r--libdiskfs/dir-mkdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c
index 99a1d403..89477755 100644
--- a/libdiskfs/dir-mkdir.c
+++ b/libdiskfs/dir-mkdir.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: dir_mkdir
- Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -33,7 +33,7 @@ diskfs_S_dir_mkdir (struct protid *dircred,
return EOPNOTSUPP;
dnp = dircred->po->np;
- if (diskfs_readonly)
+ if (diskfs_check_readonly ())
return EROFS;
mutex_lock (&dnp->lock);