* XFS fix for 2.6.18-rc5
@ 2006-08-10 5:48 Nathan Scott
2006-08-10 6:58 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Scott @ 2006-08-10 5:48 UTC (permalink / raw)
To: Greg KH; +Cc: Linus Torvalds, Andrew Morton, xfs
Hi Greg,
Please pull from:
git://oss.sgi.com:8090/nathans/xfs-rc-2.6
This will update the following files:
fs/xfs/xfs_alloc.c | 103 +++++++++++++++++++++++++++-------------------------
1 files changed, 54 insertions(+), 49 deletions(-)
through these commits:
commit 0e1edbd99994270023cea5afe593f972eb09a778
Author: Nathan Scott <nathans@sgi.com>
Date: Thu Aug 10 14:40:41 2006 +1000
[XFS] Fix xfs_free_extent related NULL pointer dereference.
We recently fixed an out-of-space deadlock in XFS, and part of that fix
involved the addition of the XFS_ALLOC_FLAG_FREEING flag to some of the
space allocator calls to indicate they're freeing space, not allocating
it. There was a missed xfs_alloc_fix_freelist condition test that did not
correctly test "flags". The same test would also test an uninitialised
structure field (args->userdata) and depending on its value either would
or would not return early with a critical buffer pointer set to NULL.
This fixes that up, adds asserts to several places to catch future botches
of this nature, and skips sections of xfs_alloc_fix_freelist that are
irrelevent for the space-freeing case.
SGI-PV: 955303
SGI-Modid: xfs-linux-melb:xfs-kern:26743a
Signed-off-by: Nathan Scott <nathans@sgi.com>
--
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: XFS fix for 2.6.18-rc5
2006-08-10 5:48 XFS fix for 2.6.18-rc5 Nathan Scott
@ 2006-08-10 6:58 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2006-08-10 6:58 UTC (permalink / raw)
To: Nathan Scott; +Cc: Linus Torvalds, Andrew Morton, xfs
On Thu, Aug 10, 2006 at 03:48:18PM +1000, Nathan Scott wrote:
> Hi Greg,
>
> Please pull from:
> git://oss.sgi.com:8090/nathans/xfs-rc-2.6
>
> This will update the following files:
>
> fs/xfs/xfs_alloc.c | 103 +++++++++++++++++++++++++++-------------------------
> 1 files changed, 54 insertions(+), 49 deletions(-)
Pulled from, and pushed out.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-10 8:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10 5:48 XFS fix for 2.6.18-rc5 Nathan Scott
2006-08-10 6:58 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox