Kernel.org Bugzilla – Attachment 209501 Details for
Bug 114591
xfsdump failing with kernel issues inside vm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Test Patch
0001-Double-Free-check-for-xfs.patch (text/plain), 686 bytes, created by
nickkrause
on 2016-03-16 21:34:25 UTC
(
hide
)
Description:
Test Patch
Filename:
MIME Type:
Creator:
nickkrause
Created:
2016-03-16 21:34:25 UTC
Size:
686 bytes
patch
obsolete
>From d8fef7338ae7fdc70c9c2f9887ba7de55fd8ee7f Mon Sep 17 00:00:00 2001 >From: Nicholas Krause <xerofoify@gmail.com> >Date: Wed, 16 Mar 2016 17:24:54 -0400 >Subject: [PATCH] Double Free check for xfs > >Signed-off-by: Nicholas Krause <xerofoify@gmail.com> >--- > fs/xfs/xfs_buf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c >index 435c7de..ed80c6e 100644 >--- a/fs/xfs/xfs_buf.c >+++ b/fs/xfs/xfs_buf.c >@@ -274,7 +274,7 @@ xfs_buf_free( > } > } else if (bp->b_flags & _XBF_KMEM) > kmem_free(bp->b_addr); >- _xfs_buf_free_pages(bp); >+ //_xfs_buf_free_pages(bp); > xfs_buf_free_maps(bp); > kmem_zone_free(xfs_buf_zone, bp); > } >-- >2.5.0 >
From d8fef7338ae7fdc70c9c2f9887ba7de55fd8ee7f Mon Sep 17 00:00:00 2001 From: Nicholas Krause <xerofoify@gmail.com> Date: Wed, 16 Mar 2016 17:24:54 -0400 Subject: [PATCH] Double Free check for xfs Signed-off-by: Nicholas Krause <xerofoify@gmail.com> --- fs/xfs/xfs_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 435c7de..ed80c6e 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -274,7 +274,7 @@ xfs_buf_free( } } else if (bp->b_flags & _XBF_KMEM) kmem_free(bp->b_addr); - _xfs_buf_free_pages(bp); + //_xfs_buf_free_pages(bp); xfs_buf_free_maps(bp); kmem_zone_free(xfs_buf_zone, bp); } -- 2.5.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114591
:
209201
|
209481
| 209501 |
210291
|
210581
|
210781
|
210921
|
211331
|
211341