From 22a5090b5cd83c8358bd367d07cf51067ce32e85 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:40:12 +0000 Subject: (diskfs_S_dir_rmdir): Use diskfs_check_readonly instead of diskfs_readonly. --- libdiskfs/dir-rmdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/dir-rmdir.c') diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c index cded76a0..70c87d03 100644 --- a/libdiskfs/dir-rmdir.c +++ b/libdiskfs/dir-rmdir.c @@ -33,7 +33,7 @@ diskfs_S_dir_rmdir (struct protid *dircred, return EOPNOTSUPP; dnp = dircred->po->np; - if (diskfs_readonly) + if (diskfs_check_readonly ()) return EROFS; mutex_lock (&dnp->lock); -- cgit v1.2.3