From e74a41ddb8371c800004c99b80ef0b564128884b Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 6 Oct 1999 14:43:23 +0000 Subject: 1999-10-06 Thomas Bushnell, BSG * lookup.c (diskfs_lookup): NAME is no longer const. Update documentation Strip leading and trailing slashes from NAME before using it. * diskfs.h (diskfs_lookup): NAME is no longer const. Update documentation. 1999-10-05 Thomas Bushnell, BSG * priv.h (CHANGE_NODE_FIELD): Use diskfs_check_readonly instead of directly reading diskfs_readonly. --- libdiskfs/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/priv.h') diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h index fca32d16..032d7d09 100644 --- a/libdiskfs/priv.h +++ b/libdiskfs/priv.h @@ -120,7 +120,7 @@ extern fshelp_fetch_root_callback2_t _diskfs_translator_callback2; if (!(PROTID)) \ return EOPNOTSUPP; \ \ - if (diskfs_readonly) \ + if (diskfs_check_readonly ()) \ return EROFS; \ \ np = (PROTID)->po->np; \ -- cgit v1.2.3