From 94b357c2b31be20b51784dc6f2ae837d58777cbd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Nov 1999 21:10:54 +0000 Subject: Unmount was failing as a side-effect of splitting the rmnod handler and not handling every case properly. --- cpukit/libfs/src/imfs/imfs.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cpukit/libfs/src/imfs/imfs.h') diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index a88672c4b8..ff76bcd04b 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -212,9 +212,10 @@ typedef enum { * Shared Data */ +extern rtems_filesystem_file_handlers_r IMFS_directory_handlers; extern rtems_filesystem_file_handlers_r IMFS_device_handlers; +extern rtems_filesystem_file_handlers_r IMFS_link_handlers; extern rtems_filesystem_file_handlers_r IMFS_memfile_handlers; -extern rtems_filesystem_file_handlers_r IMFS_directory_handlers; extern rtems_filesystem_operations_table IMFS_ops; extern rtems_filesystem_operations_table miniIMFS_ops; extern rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS; @@ -456,10 +457,6 @@ int device_lseek( int whence /* IN */ ); -int device_rmnod( - rtems_filesystem_location_info_t *pathloc /* IN */ -); - int IMFS_utime( rtems_filesystem_location_info_t *pathloc, /* IN */ time_t actime, /* IN */ @@ -492,6 +489,10 @@ int IMFS_fcntl( rtems_libio_t *iop ); +int IMFS_rmnod( + rtems_filesystem_location_info_t *pathloc /* IN */ +); + #ifdef __cplusplus } #endif -- cgit v1.2.3