diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-01 14:29:09 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-01 14:29:09 +0000 |
commit | 615d8ccf769fb68f094e0678c65880324a9ab431 (patch) | |
tree | 653986b1955b7c07703a8ca865306640bafeed48 /cpukit/libblock | |
parent | 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-615d8ccf769fb68f094e0678c65880324a9ab431.tar.bz2 |
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h: Documentation.
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1524/filesystem
* libcsupport/src/rtems_mkdir.c: New file.
* libcsupport/src/Makefile.am: Reflect change above.
* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
libnetworking/rtems/mkrootfs.c: Use rtems_mkdir(). Removed
rtems_fsmount_create_mount_point() and rtems_rootfs_mkdir().
Diffstat (limited to 'cpukit/libblock')
-rw-r--r-- | cpukit/libblock/src/bdpart-mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libblock/src/bdpart-mount.c b/cpukit/libblock/src/bdpart-mount.c index 8f2e051c61..aef15dfbaa 100644 --- a/cpukit/libblock/src/bdpart-mount.c +++ b/cpukit/libblock/src/bdpart-mount.c @@ -29,7 +29,7 @@ #include <rtems.h> #include <rtems/bdpart.h> -#include <rtems/fsmount.h> +#include <rtems/libio.h> rtems_status_code rtems_bdpart_mount( const char *disk_name, @@ -90,7 +90,7 @@ rtems_status_code rtems_bdpart_mount( /* Create mount point */ strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE); - rv = rtems_fsmount_create_mount_point( mount_point); + rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO); if (rv != 0) { esc = RTEMS_IO_ERROR; goto cleanup; |