From 4a07d2b866a2104102215cbd196269dcce18c000 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Fri, 29 Oct 1999 15:19:13 +0000 Subject: Moved the rmnod callback from the operations table to the handler table. --- c/src/libfs/src/imfs/imfs_handlers_device.c | 3 ++- c/src/libfs/src/imfs/imfs_handlers_directory.c | 11 ++++++++++- c/src/libfs/src/imfs/imfs_handlers_memfile.c | 3 ++- c/src/libfs/src/imfs/imfs_init.c | 1 - 4 files changed, 14 insertions(+), 4 deletions(-) (limited to 'c/src/libfs') diff --git a/c/src/libfs/src/imfs/imfs_handlers_device.c b/c/src/libfs/src/imfs/imfs_handlers_device.c index 38a6aca7d4..b6b9c808a0 100644 --- a/c/src/libfs/src/imfs/imfs_handlers_device.c +++ b/c/src/libfs/src/imfs/imfs_handlers_device.c @@ -33,5 +33,6 @@ rtems_filesystem_file_handlers_r IMFS_device_handlers = { NULL, /* fpathconf */ NULL, /* fsync */ NULL, /* fdatasync */ - NULL /* fcntl */ + NULL, /* fcntl */ + IMFS_rmnod }; diff --git a/c/src/libfs/src/imfs/imfs_handlers_directory.c b/c/src/libfs/src/imfs/imfs_handlers_directory.c index 9f4e6a0e24..364f3cdf26 100644 --- a/c/src/libfs/src/imfs/imfs_handlers_directory.c +++ b/c/src/libfs/src/imfs/imfs_handlers_directory.c @@ -33,5 +33,14 @@ rtems_filesystem_file_handlers_r IMFS_directory_handlers = { NULL, /* fpathconf */ NULL, /* fsync */ IMFS_fdatasync, - IMFS_fcntl + IMFS_fcntl, + IMFS_rmnod }; + + + + + + + + diff --git a/c/src/libfs/src/imfs/imfs_handlers_memfile.c b/c/src/libfs/src/imfs/imfs_handlers_memfile.c index 1e373b4745..f622c99558 100644 --- a/c/src/libfs/src/imfs/imfs_handlers_memfile.c +++ b/c/src/libfs/src/imfs/imfs_handlers_memfile.c @@ -33,5 +33,6 @@ rtems_filesystem_file_handlers_r IMFS_memfile_handlers = { NULL, /* fpathconf */ NULL, /* fsync */ IMFS_fdatasync, - IMFS_fcntl + IMFS_fcntl, + IMFS_rmnod }; diff --git a/c/src/libfs/src/imfs/imfs_init.c b/c/src/libfs/src/imfs/imfs_init.c index 8f44a4e2cd..ad2781f63e 100644 --- a/c/src/libfs/src/imfs/imfs_init.c +++ b/c/src/libfs/src/imfs/imfs_init.c @@ -37,7 +37,6 @@ rtems_filesystem_operations_table IMFS_ops = { IMFS_unlink, IMFS_node_type, IMFS_mknod, - IMFS_rmnod, IMFS_chown, IMFS_freenodinfo, IMFS_mount, -- cgit v1.2.3