aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/priv.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-10-06 14:43:23 +0000
committerThomas Bushnell <thomas@gnu.org>1999-10-06 14:43:23 +0000
commite74a41ddb8371c800004c99b80ef0b564128884b (patch)
tree63b611c651490ad0e2d84cc33dd1ddbf2ad1d674 /libdiskfs/priv.h
parent6edeb62e3980f1a3769ed74cb81567744b5b6e92 (diff)
downloadhurd-e74a41ddb8371c800004c99b80ef0b564128884b.tar.gz
hurd-e74a41ddb8371c800004c99b80ef0b564128884b.tar.bz2
hurd-e74a41ddb8371c800004c99b80ef0b564128884b.zip
1999-10-06 Thomas Bushnell, BSG <tb@mit.edu>
* 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 <tb@mit.edu> * priv.h (CHANGE_NODE_FIELD): Use diskfs_check_readonly instead of directly reading diskfs_readonly.
Diffstat (limited to 'libdiskfs/priv.h')
-rw-r--r--libdiskfs/priv.h2
1 files changed, 1 insertions, 1 deletions
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; \