change log for rtems (2010-07-01)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Jul 1 21:14:42 UTC 2010


 *joel*:
2010-07-01	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* libfs/src/dosfs/msdos_handlers_dir.c,
	libfs/src/dosfs/msdos_handlers_file.c, libfs/src/imfs/imfs_fifo.c,
	libfs/src/imfs/imfs_handlers_device.c,
	libfs/src/imfs/imfs_handlers_directory.c,
	libfs/src/imfs/imfs_handlers_link.c,
	libfs/src/imfs/imfs_handlers_memfile.c,
	libfs/src/imfs/miniimfs_init.c, libfs/src/rfs/rtems-rfs-rtems-dev.c,
	libfs/src/rfs/rtems-rfs-rtems-dir.c,
	libfs/src/rfs/rtems-rfs-rtems-file.c: Turn NULLs into default
	handlers.

M 1.2486  cpukit/ChangeLog
M    1.6  cpukit/libfs/src/dosfs/msdos_handlers_dir.c
M    1.6  cpukit/libfs/src/dosfs/msdos_handlers_file.c
M    1.5  cpukit/libfs/src/imfs/imfs_fifo.c
M   1.10  cpukit/libfs/src/imfs/imfs_handlers_device.c
M   1.10  cpukit/libfs/src/imfs/imfs_handlers_directory.c
M    1.7  cpukit/libfs/src/imfs/imfs_handlers_link.c
M   1.13  cpukit/libfs/src/imfs/imfs_handlers_memfile.c
M   1.16  cpukit/libfs/src/imfs/miniimfs_init.c
M    1.4  cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
M    1.5  cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c
M    1.6  cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c

diff -u rtems/cpukit/ChangeLog:1.2485 rtems/cpukit/ChangeLog:1.2486
--- rtems/cpukit/ChangeLog:1.2485	Thu Jul  1 12:47:44 2010
+++ rtems/cpukit/ChangeLog	Thu Jul  1 15:18:40 2010
@@ -1,3 +1,16 @@
+2010-07-01	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* libfs/src/dosfs/msdos_handlers_dir.c,
+	libfs/src/dosfs/msdos_handlers_file.c, libfs/src/imfs/imfs_fifo.c,
+	libfs/src/imfs/imfs_handlers_device.c,
+	libfs/src/imfs/imfs_handlers_directory.c,
+	libfs/src/imfs/imfs_handlers_link.c,
+	libfs/src/imfs/imfs_handlers_memfile.c,
+	libfs/src/imfs/miniimfs_init.c, libfs/src/rfs/rtems-rfs-rtems-dev.c,
+	libfs/src/rfs/rtems-rfs-rtems-dir.c,
+	libfs/src/rfs/rtems-rfs-rtems-file.c: Turn NULLs into default
+	handlers.
+
 2010-07-01	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* libcsupport/src/_rename_r.c, libcsupport/src/getdents.c,

diff -u rtems/cpukit/libfs/src/dosfs/msdos_handlers_dir.c:1.5 rtems/cpukit/libfs/src/dosfs/msdos_handlers_dir.c:1.6
--- rtems/cpukit/libfs/src/dosfs/msdos_handlers_dir.c:1.5	Wed Apr 29 03:31:26 2009
+++ rtems/cpukit/libfs/src/dosfs/msdos_handlers_dir.c	Thu Jul  1 15:18:40 2010
@@ -22,15 +22,15 @@
     msdos_dir_open,
     msdos_dir_close,
     msdos_dir_read,
-    NULL,             /* msdos_dir_write */
-    NULL,             /* msdos_dir_ioctl */
+    rtems_filesystem_default_write,
+    rtems_filesystem_default_ioctl,
     msdos_dir_lseek,
     msdos_dir_stat,
     msdos_dir_chmod,
-    NULL,             /* msdos_dir_ftruncate */
-    NULL,
+    rtems_filesystem_default_ftruncate,
+    rtems_filesystem_default_fpathconf,
     msdos_dir_sync,
     msdos_dir_sync,
-    NULL,                 /* msdos_dir_fcntl */
+    rtems_filesystem_default_fcntl,
     msdos_dir_rmnod
 };

diff -u rtems/cpukit/libfs/src/dosfs/msdos_handlers_file.c:1.5 rtems/cpukit/libfs/src/dosfs/msdos_handlers_file.c:1.6
--- rtems/cpukit/libfs/src/dosfs/msdos_handlers_file.c:1.5	Wed Apr 29 03:31:26 2009
+++ rtems/cpukit/libfs/src/dosfs/msdos_handlers_file.c	Thu Jul  1 15:18:40 2010
@@ -28,9 +28,9 @@
     msdos_file_stat,
     msdos_file_chmod,
     msdos_file_ftruncate,
-    NULL,
+    rtems_filesystem_default_fpathconf,
     msdos_file_sync,
     msdos_file_datasync,
-    NULL,                 /* msdos_file_fcntl */
+    rtems_filesystem_default_fcntl,
     msdos_file_rmnod
 };

diff -u rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.4 rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.5
--- rtems/cpukit/libfs/src/imfs/imfs_fifo.c:1.4	Tue Jun  8 03:50:56 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_fifo.c	Thu Jul  1 15:18:40 2010
@@ -140,10 +140,10 @@
   IMFS_fifo_lseek,
   IMFS_stat,
   IMFS_fchmod,
-  NULL,    /* ftruncate */
-  NULL,    /* fpathconf */
-  NULL,    /* fsync */
-  NULL,    /* fdatasync */
+  rtems_filesystem_default_ftruncate,
+  rtems_filesystem_default_fpathconf,
+  rtems_filesystem_default_fsync,
+  rtems_filesystem_default_fdatasync,
   IMFS_fcntl,
   IMFS_rmnod,
 };

diff -u rtems/cpukit/libfs/src/imfs/imfs_handlers_device.c:1.9 rtems/cpukit/libfs/src/imfs/imfs_handlers_device.c:1.10
--- rtems/cpukit/libfs/src/imfs/imfs_handlers_device.c:1.9	Thu Jul 10 01:03:51 2008
+++ rtems/cpukit/libfs/src/imfs/imfs_handlers_device.c	Thu Jul  1 15:18:40 2010
@@ -33,9 +33,9 @@
   IMFS_stat,
   IMFS_fchmod,
   device_ftruncate,
-  NULL,   /* fpathconf */
-  NULL,   /* fsync */
-  NULL,   /* fdatasync */
-  NULL,   /* fcntl */
+  rtems_filesystem_default_fpathconf,
+  rtems_filesystem_default_fsync,
+  rtems_filesystem_default_fdatasync,
+  rtems_filesystem_default_fcntl,
   IMFS_rmnod
 };

diff -u rtems/cpukit/libfs/src/imfs/imfs_handlers_directory.c:1.9 rtems/cpukit/libfs/src/imfs/imfs_handlers_directory.c:1.10
--- rtems/cpukit/libfs/src/imfs/imfs_handlers_directory.c:1.9	Tue May 27 05:34:14 2008
+++ rtems/cpukit/libfs/src/imfs/imfs_handlers_directory.c	Thu Jul  1 15:18:40 2010
@@ -27,14 +27,14 @@
   imfs_dir_open,
   imfs_dir_close,
   imfs_dir_read,
-  NULL,             /* write */
-  NULL,             /* ioctl */
+  rtems_filesystem_default_write,
+  rtems_filesystem_default_ioctl,
   imfs_dir_lseek,
   imfs_dir_fstat,
   IMFS_fchmod,
-  NULL,             /* ftruncate */
-  NULL,             /* fpathconf */
-  NULL,             /* fsync */
+  rtems_filesystem_default_ftruncate,
+  rtems_filesystem_default_fpathconf,
+  rtems_filesystem_default_fsync,
   IMFS_fdatasync,
   IMFS_fcntl,
   imfs_dir_rmnod

diff -u rtems/cpukit/libfs/src/imfs/imfs_handlers_link.c:1.6 rtems/cpukit/libfs/src/imfs/imfs_handlers_link.c:1.7
--- rtems/cpukit/libfs/src/imfs/imfs_handlers_link.c:1.6	Tue May 27 05:34:14 2008
+++ rtems/cpukit/libfs/src/imfs/imfs_handlers_link.c	Thu Jul  1 15:18:41 2010
@@ -24,18 +24,18 @@
  */
 
 const rtems_filesystem_file_handlers_r IMFS_link_handlers = {
-  NULL,       /* open */
-  NULL,       /* close */
-  NULL,       /* read */
-  NULL,       /* write */
-  NULL,       /* ioctl */
-  NULL,       /* lseek */
+  rtems_filesystem_default_open,
+  rtems_filesystem_default_close,
+  rtems_filesystem_default_read,
+  rtems_filesystem_default_write,
+  rtems_filesystem_default_ioctl,
+  rtems_filesystem_default_lseek,
   IMFS_stat,  /* stat */
-  NULL,       /* fchmod */
-  NULL,       /* ftruncate */
-  NULL,       /* fpathconf */
-  NULL,       /* fsync */
-  NULL,       /* fdatasync */
-  NULL,       /* fcntl */
+  rtems_filesystem_default_fchmod,
+  rtems_filesystem_default_ftruncate,
+  rtems_filesystem_default_fpathconf,
+  rtems_filesystem_default_fsync,
+  rtems_filesystem_default_fdatasync,
+  rtems_filesystem_default_fcntl,
   IMFS_rmnod
 };

diff -u rtems/cpukit/libfs/src/imfs/imfs_handlers_memfile.c:1.12 rtems/cpukit/libfs/src/imfs/imfs_handlers_memfile.c:1.13
--- rtems/cpukit/libfs/src/imfs/imfs_handlers_memfile.c:1.12	Tue Jun  8 03:50:56 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_handlers_memfile.c	Thu Jul  1 15:18:41 2010
@@ -33,7 +33,7 @@
   IMFS_stat,
   IMFS_fchmod,
   memfile_ftruncate,
-  NULL,                /* fpathconf */
+  rtems_filesystem_default_fpathconf,
   IMFS_fdatasync,      /* fsync */
   IMFS_fdatasync,
   IMFS_fcntl,

diff -u rtems/cpukit/libfs/src/imfs/miniimfs_init.c:1.15 rtems/cpukit/libfs/src/imfs/miniimfs_init.c:1.16
--- rtems/cpukit/libfs/src/imfs/miniimfs_init.c:1.15	Tue Jun  8 05:25:45 2010
+++ rtems/cpukit/libfs/src/imfs/miniimfs_init.c	Thu Jul  1 15:18:41 2010
@@ -28,22 +28,22 @@
 static const rtems_filesystem_operations_table miniIMFS_ops = {
   .evalpath_h = IMFS_eval_path,
   .evalformake_h = IMFS_evaluate_for_make,
-  .link_h = NULL,
-  .unlink_h = NULL,
+  .link_h = rtems_filesystem_default_link,
+  .unlink_h = rtems_filesystem_default_unlink,
   .node_type_h = IMFS_node_type,
   .mknod_h = IMFS_mknod,
-  .chown_h = NULL,
-  .freenod_h = NULL,
+  .chown_h = rtems_filesystem_default_chown,
+  .freenod_h = rtems_filesystem_default_freenode,
   .mount_h = IMFS_mount,
   .fsmount_me_h = miniIMFS_initialize,
-  .unmount_h = NULL,
-  .fsunmount_me_h = NULL,
-  .utime_h = NULL,
-  .eval_link_h = NULL,
-  .symlink_h = NULL,
-  .readlink_h = NULL,
-  .rename_h = NULL,
-  .statvfs_h = NULL
+  .unmount_h = rtems_filesystem_default_unmount,
+  .fsunmount_me_h = rtems_filesystem_default_unmount,
+  .utime_h = rtems_filesystem_default_utime,
+  .eval_link_h = rtems_filesystem_default_evaluate_link,
+  .symlink_h = rtems_filesystem_default_symlink,
+  .readlink_h = rtems_filesystem_default_readlink,
+  .rename_h = rtems_filesystem_default_rename,
+  .statvfs_h = rtems_filesystem_default_statvfs
 };
 
 int miniIMFS_initialize(

diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.3 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.4
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c:1.3	Tue Jun  8 03:30:04 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c	Thu Jul  1 15:18:41 2010
@@ -263,9 +263,9 @@
   .fstat_h     = rtems_rfs_rtems_stat,
   .fchmod_h    = rtems_rfs_rtems_fchmod,
   .ftruncate_h = rtems_rfs_rtems_device_ftruncate,
-  .fpathconf_h = NULL,
-  .fsync_h     = NULL,
-  .fdatasync_h = NULL,
-  .fcntl_h     = NULL,
+  .fpathconf_h = rtems_filesystem_default_fpathconf,
+  .fsync_h     = rtems_filesystem_default_fsync,
+  .fdatasync_h = rtems_filesystem_default_fdatasync,
+  .fcntl_h     = rtems_filesystem_default_fcntl,
   .rmnod_h     = rtems_rfs_rtems_rmnod
 };

diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c:1.4 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c:1.5
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c:1.4	Wed Jun 16 22:48:31 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c	Thu Jul  1 15:18:41 2010
@@ -230,14 +230,14 @@
   .open_h      = rtems_rfs_rtems_dir_open,
   .close_h     = rtems_rfs_rtems_dir_close,
   .read_h      = rtems_rfs_rtems_dir_read,
-  .write_h     = NULL,
-  .ioctl_h     = NULL,
+  .write_h     = rtems_filesystem_default_write,
+  .ioctl_h     = rtems_filesystem_default_ioctl,
   .lseek_h     = rtems_rfs_rtems_dir_lseek,
   .fstat_h     = rtems_rfs_rtems_stat,
   .fchmod_h    = rtems_rfs_rtems_fchmod,
-  .ftruncate_h = NULL,
-  .fpathconf_h = NULL,
-  .fsync_h     = NULL,
+  .ftruncate_h = rtems_filesystem_default_ftruncate,
+  .fpathconf_h = rtems_filesystem_default_fpathconf,
+  .fsync_h     = rtems_filesystem_default_fsync,
   .fdatasync_h = rtems_rfs_rtems_fdatasync,
   .fcntl_h     = rtems_rfs_rtems_fcntl,
   .rmnod_h     = rtems_rfs_rtems_dir_rmnod

diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.5 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.6
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.5	Wed Jun 16 22:36:04 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c	Thu Jul  1 15:18:41 2010
@@ -338,7 +338,7 @@
   .fstat_h     = rtems_rfs_rtems_stat,
   .fchmod_h    = rtems_rfs_rtems_fchmod,
   .ftruncate_h = rtems_rfs_rtems_file_ftruncate,
-  .fpathconf_h = NULL,
+  .fpathconf_h = rtems_filesystem_default_fpathconf,
   .fsync_h     = rtems_rfs_rtems_fdatasync,
   .fdatasync_h = rtems_rfs_rtems_fdatasync,
   .fcntl_h     = rtems_rfs_rtems_fcntl,



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100701/95b13685/attachment-0001.html>


More information about the vc mailing list