From 3d467ea643dd2aefa33d65be42b154f2960db7a5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:38:14 +0000 Subject: (diskfs_S_dir_lookup): Use diskfs_check_readonly instead of diskfs_readonly. --- libdiskfs/dir-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 59e850cd..c8138254 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -383,7 +383,7 @@ diskfs_S_dir_lookup (struct protid *dircred, { if (type == S_IFDIR) error = EISDIR; - else if (diskfs_readonly) + else if (diskfs_check_readonly ()) error = EROFS; else error = diskfs_access (np, S_IWRITE, dircred); -- cgit v1.2.3