mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ubifs: regression: unable to mount ubifs
@ 2016-06-18 18:19 Hauke Mehrtens
  2016-06-18 18:20 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2016-06-18 18:19 UTC (permalink / raw)
  To: viro, Artem Bityutskiy, Richard Weinberger, David Woodhouse,
	Brian Norris
  Cc: MTD Maling List, LKML

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.

Hauke

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-18 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18 18:19 ubifs: regression: unable to mount ubifs Hauke Mehrtens
2016-06-18 18:20 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome