xfs
[Top] [All Lists]

[Bug 278] xfs_growfs crashes with kernel bug for negative grow sizes

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 278] xfs_growfs crashes with kernel bug for negative grow sizes
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 15 Sep 2003 19:01:46 -0700
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=278


nathans@xxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|xfs_growfs crashes with     |xfs_growfs crashes with
                   |kernel bug for negative grow|kernel bug for negative grow
                   |sizes                       |sizes




------- Additional Comments From nathans@xxxxxxx  2003-15-09 19:01 PDT -------
> kernel BUG at filename.c:839!
> invalid operand: 00000 ....

Hmmm... there is no filename.c in the kernel... did you mean filemap.c?
I don't see a BUG() call at line 839 in there.  A kdb backtrace would be
best if you can reproduce this.

As to the signed thing, I'll tweak growfs so that it report errors.

The kernel interface uses an unsigned value, and the kernel code does
attempt to read at the end of the new size, before proceeding with the
grow operation - in a quick test I just did this seems to be working as
expected; doesn't allow me to grow a "negative" amount (i.e. to a large
offset), just gives a syslog error.

cheers.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 278] xfs_growfs crashes with kernel bug for negative grow sizes, bugzilla-daemon <=