Let ubiformat umount / detach users
Sascha Hauer
s.hauer at pengutronix.de
Tue Mar 15 04:22:24 PDT 2016
This is a rebase of the series Markus sent earlier on the recent
ubiformat changes.
Sascha
----------------------------------------------------------------
Markus Pargmann (3):
fs: umount based on device path and mount path
fs: Add for_each_fs_device_safe()
ubiformat: Cleanly umount and detach the ubi before formating
Sascha Hauer (5):
mtd: ubi: rename cdev.c to barebox.c
mtd: ubi: make ubi_detach_mtd_dev ubi internal
mtd: ubi: umount mounted volumes before detaching a ubi device
mtd: ubi: Add function to get ubi number from mtd device
commands: ubidetach: Allow mtd devices as argument
commands/ubi.c | 30 +++++++++++++++---
commands/ubiformat.c | 24 +++++++++++++--
commands/umount.c | 2 +-
drivers/mtd/ubi/Makefile | 2 +-
drivers/mtd/ubi/{cdev.c => barebox.c} | 57 +++++++++++++++++++++++++++++++++++
drivers/mtd/ubi/ubi.h | 1 +
fs/fs.c | 48 +++++++++++++++++++++++++++--
include/fs.h | 2 ++
include/mtd/ubi-user.h | 3 +-
9 files changed, 157 insertions(+), 12 deletions(-)
rename drivers/mtd/ubi/{cdev.c => barebox.c} (83%)
More information about the barebox
mailing list