From 57dee4dc04604ac393d305ebec4c0f449b0fcdaa Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 31 Aug 2003 11:16:07 +0000 Subject: 2003-08-31 Marcus Brinkmann * main.c (diskfs_readonly, diskfs_hard_readonly): Removed. (main): Set diskfs_readonly and diskfs_hard_readonly to one. --- isofs/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'isofs/main.c') diff --git a/isofs/main.c b/isofs/main.c index 05b50d7e..4f6ea8fa 100644 --- a/isofs/main.c +++ b/isofs/main.c @@ -39,8 +39,6 @@ int diskfs_link_max = INT_MAX; int diskfs_name_max = 255; /* see iso9660.h: struct dirrect::namelen */ int diskfs_maxsymlinks = 8; -/* This filesystem is never capable of writing. */ -int diskfs_readonly = 1, diskfs_hard_readonly = 1; /* Fetch the root node */ static void @@ -130,6 +128,10 @@ main (int argc, char **argv) { mach_port_t bootstrap; + /* This filesystem is never capable of writing. */ + diskfs_readonly = 1; + diskfs_hard_readonly = 1; + /* Initialize the diskfs library, parse arguments, and open the store. This starts the first diskfs thread for us. */ store = diskfs_init_main (NULL, argc, argv, &store_parsed, &bootstrap); -- cgit v1.2.3