diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-02 15:44:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-07 17:03:20 +0200 |
commit | c17d0b315baf3f3a3afb862f64d0acf424088442 (patch) | |
tree | 4b659a3d629d590525cadec5a32e57fd1ec8ad78 /testsuites | |
parent | score: Critical fix for thread dispatching (diff) | |
download | rtems-c17d0b315baf3f3a3afb862f64d0acf424088442.tar.bz2 |
Filesystem: Reject removal of root nodes
Reject the removal of file system instance root nodes in rmdir() and
unlink() and return the EBUSY error status. File system instances can
be removed with unmount(). Remove root node special cases in IMFS,
DOSFS, and RFS.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/fstests/fsimfsgeneric01/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuites/fstests/fsimfsgeneric01/init.c b/testsuites/fstests/fsimfsgeneric01/init.c index 9fd4bad43a..1a25dec661 100644 --- a/testsuites/fstests/fsimfsgeneric01/init.c +++ b/testsuites/fstests/fsimfsgeneric01/init.c @@ -233,10 +233,7 @@ static IMFS_jnode_t *node_initialize( return node; } -static IMFS_jnode_t *node_remove( - IMFS_jnode_t *node, - const IMFS_jnode_t *root_node -) +static IMFS_jnode_t *node_remove(IMFS_jnode_t *node) { test_state *state = IMFS_generic_get_context_by_node(node); |