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 314040 Details for
Bug 458289
GFS2: rm on multiple nodes causes panic
[?]
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]
Patch to fix both problems
bz336491.try2.patch (text/plain), 1.34 KB, created by
Robert Peterson
on 2008-08-12 03:34:20 UTC
(
hide
)
Description:
Patch to fix both problems
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2008-08-12 03:34:20 UTC
Size:
1.34 KB
patch
obsolete
> fs/gfs2/ops_inode.c | 24 ++++++------------------ > 1 files changed, 6 insertions(+), 18 deletions(-) > >diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c >index e2c62f7..a072c9a 100644 >--- a/fs/gfs2/ops_inode.c >+++ b/fs/gfs2/ops_inode.c >@@ -288,25 +288,17 @@ static int gfs2_unlink(struct inode *dir, struct dentry *dentry) > gfs2_holder_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, ghs + 2); > > >- error = gfs2_glock_nq(ghs); /* parent */ >- if (error) >- goto out_parent; >- >- error = gfs2_glock_nq(ghs + 1); /* child */ >- if (error) >- goto out_child; >- >- error = gfs2_glock_nq(ghs + 2); /* rgrp */ >+ error = gfs2_glock_nq_m(3, ghs); > if (error) >- goto out_rgrp; >+ goto out; > > error = gfs2_unlink_ok(dip, &dentry->d_name, ip); > if (error) >- goto out_rgrp; >+ goto out; > > error = gfs2_trans_begin(sdp, 2*RES_DINODE + RES_LEAF + RES_RG_BIT, 0); > if (error) >- goto out_rgrp; >+ goto out; > > error = gfs2_dir_del(dip, &dentry->d_name); > if (error) >@@ -316,14 +308,10 @@ static int gfs2_unlink(struct inode *dir, struct dentry *dentry) > > out_end_trans: > gfs2_trans_end(sdp); >- gfs2_glock_dq(ghs + 2); >-out_rgrp: >+out: >+ gfs2_glock_dq_m(3, ghs); > gfs2_holder_uninit(ghs + 2); >- gfs2_glock_dq(ghs + 1); >-out_child: > gfs2_holder_uninit(ghs + 1); >- gfs2_glock_dq(ghs); >-out_parent: > gfs2_holder_uninit(ghs); > gfs2_glock_dq_uninit(&ri_gh); > return error;
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 458289
:
314011
|
314040
|
314124
|
314125