[PATCH] ubifs: Convert ubifs to use the new mount API

Eric Sandeen sandeen at redhat.com
Thu Sep 26 13:39:41 PDT 2024


On 9/26/24 3:36 PM, Eric Sandeen wrote:
> From: David Howells <dhowells at redhat.com>
> 
> Convert the ubifs filesystem to the new internal mount API as the old
> one will be obsoleted and removed.  This allows greater flexibility in
> communication of mount parameters between userspace, the VFS and the
> filesystem.
> 
> See Documentation/filesystems/mount_api.txt for more information.
> 
> Signed-off-by: David Howells <dhowells at redhat.com>
> [sandeen: forward-port old patch]
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>
> cc: Richard Weinberger <richard at nod.at>
> cc: Zhihao Cheng <chengzhihao1 at huawei.com>
> cc: linux-mtd at lists.infradead.org

Just a note, I simply picked up David's old patch from his git branch at

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/patch/?id=efee75ecdcb8f37afdedbe79a77ee571325b57d5

and forward-ported it. It's build tested only, so review and testing
would be most appreciated.

Aside from some minor changes to the internal mount API that
required adjustment, there was also a new compression type and a couple
additional ubifs_info members that needed initialization in
ubifs_init_fs_context.

Thanks!
-Eric




More information about the linux-mtd mailing list