Bugzilla – Attachment 65575 Details for
Bug 145204
dmapi seems to break xfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Possible fix for xfs_buf_rele panic
fix-kmalloc-buf-early-rele (text/plain), 381 bytes, created by
Nathan Scott
on 2006-01-30 05:03:14 UTC
(
hide
)
Description:
Possible fix for xfs_buf_rele panic
Filename:
MIME Type:
Creator:
Nathan Scott
Created:
2006-01-30 05:03:14 UTC
Size:
381 bytes
patch
obsolete
>--- a/fs/xfs/linux-2.6/xfs_buf.c >+++ b/fs/xfs/linux-2.6/xfs_buf.c >@@ -827,6 +827,13 @@ xfs_buf_rele( > > XB_TRACE(bp, "rele", bp->b_relse); > >+ if (unlikely(!hash)) { >+ ASSERT(!bp->b_relse); >+ if (atomic_dec_and_test(&bp->b_hold)) >+ xfs_buf_free(bp); >+ return; >+ } >+ > if (atomic_dec_and_lock(&bp->b_hold, &hash->bh_lock)) { > if (bp->b_relse) { > atomic_inc(&bp->b_hold);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 145204
:
64766
| 65575