mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Hauke Mehrtens <hauke@hauke-m.de>,
	viro@zeniv.linux.org.uk, Artem Bityutskiy <dedekind1@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>
Cc: MTD Maling List <linux-mtd@lists.infradead.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: ubifs: regression: unable to mount ubifs
Date: Sat, 18 Jun 2016 20:20:19 +0200	[thread overview]
Message-ID: <576590E3.2090603@nod.at> (raw)
In-Reply-To: <7158a3b3-5dee-48a0-339a-d8bcdb5b8805@hauke-m.de>

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

      reply	other threads:[~2016-06-18 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 18:19 Hauke Mehrtens
2016-06-18 18:20 ` Richard Weinberger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=576590E3.2090603@nod.at \
    --to=richard@nod.at \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=hauke@hauke-m.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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