From 86917d47bf56eae9a002deedb2b57f8a095970f8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:40:41 +0000 Subject: (diskfs_S_dir_unlink): Use diskfs_check_readonly instead of diskfs_readonly. --- libdiskfs/dir-unlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') 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); -- cgit v1.2.3