summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-25 21:37:53 +0000
committerMiles Bader <miles@gnu.org>1996-06-25 21:37:53 +0000
commit8591a1e32eb9ed0a453829146a27b6a0a745e8d0 (patch)
tree99a14c8fbadc52b5d0575f9160fa02222a50ce06 /ext2fs
parent05ae11b794dbf1226077421095bbeeb65d11c2a0 (diff)
(diskfs_cached_lookup): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 68c9451e..05e7e14c 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -95,7 +95,7 @@ diskfs_cached_lookup (int inum, struct node **npp)
/* Get the contents of NP off disk. */
err = read_disknode (np);
- if (!diskfs_readonly && !np->dn_stat.st_gen)
+ if (!diskfs_check_readonly () && !np->dn_stat.st_gen)
{
spin_lock (&generation_lock);
if (++next_generation < diskfs_mtime->seconds)