Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 291844 Details for
Bug 428896
GFS2: warning: assertion "al->al_alloced" failed
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Potential fix
bmap-fix.diff (text/plain), 640 bytes, created by
Steve Whitehouse
on 2008-01-16 12:06:34 UTC
(
hide
)
Description:
Potential fix
Filename:
MIME Type:
Creator:
Steve Whitehouse
Created:
2008-01-16 12:06:34 UTC
Size:
640 bytes
patch
obsolete
>diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c >index 4356cc2..e4effc4 100644 >--- a/fs/gfs2/bmap.c >+++ b/fs/gfs2/bmap.c >@@ -1222,10 +1222,10 @@ int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset, > do_div(lblock_stop, bsize); > } else { > unsigned int shift = sdp->sd_sb.sb_bsize_shift; >+ u64 end_of_file = (ip->i_di.di_size + sdp->sd_sb.sb_bsize - 1) >> shift; > lblock = offset >> shift; > lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; >- if (lblock_stop > ip->i_di.di_blocks) { /* writing past the >- last block */ >+ if (lblock_stop > end_of_file) { > *alloc_required = 1; > return 0; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 428896
: 291844