diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-10-29 15:19:13 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-10-29 15:19:13 +0000 |
commit | 4a07d2b866a2104102215cbd196269dcce18c000 (patch) | |
tree | 2a84022d24a4688bbeb8ef469a9983abc0bd6a7d /c/src/libfs/src/imfs | |
parent | Joel added a table of mount entry requests to be processed during (diff) | |
download | rtems-4a07d2b866a2104102215cbd196269dcce18c000.tar.bz2 |
Moved the rmnod callback from the operations table to the handler table.
Diffstat (limited to 'c/src/libfs/src/imfs')
-rw-r--r-- | c/src/libfs/src/imfs/imfs_handlers_device.c | 3 | ||||
-rw-r--r-- | c/src/libfs/src/imfs/imfs_handlers_directory.c | 11 | ||||
-rw-r--r-- | c/src/libfs/src/imfs/imfs_handlers_memfile.c | 3 | ||||
-rw-r--r-- | c/src/libfs/src/imfs/imfs_init.c | 1 |
4 files changed, 14 insertions, 4 deletions
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, |