public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "M.H.VanLeeuwen" <vanl@megsinet.net>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Alexander Viro <viro@math.psu.edu>,
	trond.myklebust@fys.uio.no, linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:167!  -reproducible
Date: Tue, 19 Dec 2000 21:20:03 -0600	[thread overview]
Message-ID: <3A402563.7F7E9E58@megsinet.net> (raw)
In-Reply-To: <Pine.GSO.4.21.0012180631290.22952-100000@weyl.math.psu.edu>

Alexander Viro wrote:
> 
> On Mon, 18 Dec 2000, Neil Brown wrote:
> 
> > On Monday December 18, trond.myklebust@fys.uio.no wrote:
> > > >>>>> " " == M H VanLeeuwen <vanl@megsinet.net> writes:
> > >
> > >      > Trond, Neil I don't know if this is a loopback bug or an NFS
> > >      > bug but since nfs_fs.h was implicated so I thought one of you
> > >      > may be interested.
> > >
> > >      > Could you let me know if you know this problem has already been
> > >      > fixed or if you need more info.
> > >
> > > Hi,
> > >
> > > As far as I'm concerned, it's a loopback bug.
> >
> > I read it the same way.
> > Actually, I cannot see the point of copying the "struct file"!  Why
> > not just take a reference to it?  The comment tries to justify it, but
> > I don't buy it.
> 
> Wish I remembered who had complained when I proposed to kill that copying...
> It was introduced back in 2.1.110 and back then comment looked so:
> 
> +               /* Backed by a regular file - we need to hold onto
> +                  a file structure for this file.  We'll use it to
> +                  write to blocks that are not already present in
> +                  a sparse file.  We create a new file structure
> +                  based on the one passed to us via 'arg'.  This is
> +                  to avoid changing the file structure that the
> +                  caller is using */
> +
> 
> I would be happy to get rid of that crap - it was the only reason why I
> had to add the sodding file_moveto() and world would be better without it.
> If we can kill it off - let's do it and let's take fs/file_table:file_moveto()
> along.
> 
> IOW, I also think that copying the struct file is wrong. IIRC, complaints were
> bogus - losetup requires enough priviliges to make worrying about security
> implications somewhat pointless.

Ok, I've was able to cause 2 BUG's yesterday in a couple of hours, ( it was easier
to lock the machine solid than to get the BUG;-)), since loading test12 w/patch I
haven't seen a single BUG in the last 24 hours.  Any chance we can get this change
to Linus for test13?

Any specific tests you want me to run?

Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-20  3:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-16 21:52 kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:167! - reproducible M.H.VanLeeuwen
2000-12-18 10:02 ` Trond Myklebust
2000-12-18 11:26   ` Neil Brown
2000-12-18 11:49     ` Alexander Viro
2000-12-20  3:20       ` M.H.VanLeeuwen [this message]
2001-01-03  2:48     ` Again, kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:167! 2.4.0-prerelease M.H.VanLeeuwen

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=3A402563.7F7E9E58@megsinet.net \
    --to=vanl@megsinet.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --cc=trond.myklebust@fys.uio.no \
    --cc=viro@math.psu.edu \
    /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