lkml.org 
[lkml]   [2016]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ubifs: regression: unable to mount ubifs
From
Date
Hi!

Am 18.06.2016 um 20:19 schrieb Hauke Mehrtens:
> The commit 322ea0bb "mtd: switch ubi_open_volume_path() to vfs_stat()"
> breaks mounting ubifs volumes for me.
>
> On kernel 4.7-rc3 I am getting the following error when trying to mount
> an ubifs volume. This volume in on a ubi file system which exports it as
> a mtd partition.
>
> root@lede:/# mkdir /tmp/test
> root@lede:/# mount -t ubifs /dev/ubi0_10 /tmp/test/
> [ 178.782184] UBIFS error (pid: 955): cannot open "/dev/ubi0_10", error
> -22mount: mounting /dev/ubi0_10 on /tmp/test/ failed: Invalid argument
> root@lede:/#
>
> In the function ubi_open_volume_path() the call to vfs_stat() returns
> -EFAULT.
>
> After I reverted commit 322ea0bb it works again.

Fixes for this are already in Linus' tree and will be part of -rc4. :-)

Thanks,
//richard

\
 
 \ /
  Last update: 2016-06-18 21:01    [W:0.033 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site