[rtems commit] Filesystem: Use ENOTSUP for default mount/unmount
Sebastian Huber
sebh at rtems.org
Thu Feb 12 20:48:07 UTC 2015
Module: rtems
Branch: master
Commit: 194eb0074b78039194aaada4bcc211a3cca9e7ee
Changeset: http://git.rtems.org/rtems/commit/?id=194eb0074b78039194aaada4bcc211a3cca9e7ee
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Feb 12 20:52:16 2015 +0100
Filesystem: Use ENOTSUP for default mount/unmount
---
cpukit/libfs/src/defaults/default_mount.c | 2 +-
cpukit/libfs/src/defaults/default_unmount.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/libfs/src/defaults/default_mount.c b/cpukit/libfs/src/defaults/default_mount.c
index 2102d06..e1caec4 100644
--- a/cpukit/libfs/src/defaults/default_mount.c
+++ b/cpukit/libfs/src/defaults/default_mount.c
@@ -22,5 +22,5 @@ int rtems_filesystem_default_mount (
rtems_filesystem_mount_table_entry_t *mt_entry /* IN */
)
{
- return 0;
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
}
diff --git a/cpukit/libfs/src/defaults/default_unmount.c b/cpukit/libfs/src/defaults/default_unmount.c
index 26d0f2b..100d69e 100644
--- a/cpukit/libfs/src/defaults/default_unmount.c
+++ b/cpukit/libfs/src/defaults/default_unmount.c
@@ -22,5 +22,5 @@ int rtems_filesystem_default_unmount(
rtems_filesystem_mount_table_entry_t *mt_entry /* IN */
)
{
- return 0;
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
}
More information about the vc
mailing list