Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1475949

Re: fs: GPF in bd_mount

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: fs: GPF in bd_mount
Date 2016-09-04 17:10 +0200
Message-ID <sdGAO-6UM-5@gated-at.bofh.it> (permalink)
References <sdD9T-7PL-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Sep 04, 2016 at 12:43:28PM +0200, Dmitry Vyukov wrote:

AFAICS, it's been introduced in commit 3684aa7099e0ab1038a1a1bf717ae60ffc3018d1
Author: Shaohua Li <shli@fb.com>
Date:   Mon Feb 22 15:27:40 2016 -0700

    block-dev: enable writeback cgroup support

See if you can reproduce it after the following:

ed fs/block_dev.c <<'EOF'
/bd_mount/
/if/s/dent/!IS_ERR(dent)/
wq
EOF

Said that, I'm not sure why mount_pseudo() would be returning any errors;
rejection should happen in the caller (due to MS_NOUSER in the flags), but
I don't understand what would trigger it on mount_pseudo() level...

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

fs: GPF in bd_mount Dmitry Vyukov <dvyukov@google.com> - 2016-09-04 12:50 +0200
  Re: fs: GPF in bd_mount Mateusz Guzik <mguzik@redhat.com> - 2016-09-04 16:20 +0200
  Re: fs: GPF in bd_mount Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-04 16:30 +0200
    Re: fs: GPF in bd_mount Dmitry Vyukov <dvyukov@google.com> - 2016-09-05 10:50 +0200
  Re: fs: GPF in bd_mount Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-04 17:10 +0200

csiph-web