[PATCH 1/2] Add support for a mmap file handler

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 22 05:03:09 UTC 2017


On 20/05/17 14:47, Kevin Kirspel wrote:
> +/**
>    * @brief File system node operations table.
>    */
>   struct _rtems_filesystem_file_handlers_r {
> @@ -993,6 +1015,7 @@ struct _rtems_filesystem_file_handlers_r {
>     rtems_filesystem_fcntl_t fcntl_h;
>     rtems_filesystem_poll_t poll_h;
>     rtems_filesystem_kqfilter_t kqfilter_h;
> +  rtems_filesystem_mmap_t mmap_h;
>     rtems_filesystem_readv_t readv_h;
>     rtems_filesystem_writev_t writev_h;
>   };
> @@ -1216,6 +1239,21 @@ int rtems_filesystem_default_kqfilter(
>     struct knote *kn
>   );

Please make this new member the last one, so that out of tree file 
systems continue to work without mmap() support.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list