Re: [PATCH 0/6] ubi: remove character device flag from static volumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 25, 2016 at 09:06:01AM +0100, Teresa Remmet wrote:
> Instead of marking static volume device files as character devices 
> introduced a truncate callback for device files.
> This makes it possible to dump static ubi volumes from flash.
> 
> Teresa Remmet (6):
>   libfile: copy_file: Only open regular files with O_TRUNC
>   devfs: Add optional truncate callback for device files
>   ubi: Add truncate callback
>   fs: Remove O_TRUNC check for devices when open files
>   commands: ubi: ubiupdatevol: Open device with O_TRUNC
>   ubi: barebox: Remove character device flag from static volumes

Applied, thanks

Sascha

> 
>  commands/ubi.c            |  2 +-
>  drivers/mtd/ubi/barebox.c | 19 ++++++++++++++++---
>  fs/devfs.c                |  5 +++++
>  fs/fs.c                   |  2 +-
>  include/driver.h          |  1 +
>  lib/libfile.c             | 22 ++++++++++++++++------
>  6 files changed, 40 insertions(+), 11 deletions(-)
> 
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux