FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-02-2008, 02:07 PM
 
Default cluster/gfs-kernel/src/gfs ops_export.c

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: wcheng@sourceware.org 2008-01-02 15:07:07

Modified files:
gfs-kernel/src/gfs: ops_export.c

Log message:
Dmitry Monakhov from OpenVZ linux kernel team reports about wrong locking
order in gfs_get_parent(). Patch submitted by Vasily Averin (vvs@sw.ru)
under Red Hat bugzilla 400651

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_export.c.diff?cvsroot=cluster&only_with_tag=RH EL5&r1=1.8.2.3&r2=1.8.2.4

--- cluster/gfs-kernel/src/gfs/ops_export.c 2007/06/05 05:43:14 1.8.2.3
+++ cluster/gfs-kernel/src/gfs/ops_export.c 2008/01/02 15:07:06 1.8.2.4
@@ -254,12 +254,12 @@

ip = get_gl2ip(i_gh.gh_gl);

- gfs_glock_dq_uninit(&d_gh);
- gfs_glock_dq_uninit(&i_gh);
-
inode = gfs_iget(ip, CREATE);
gfs_inode_put(ip);

+ gfs_glock_dq_uninit(&d_gh);
+ gfs_glock_dq_uninit(&i_gh);
+
if (!inode)
return ERR_PTR(-ENOMEM);
 

Thread Tools




All times are GMT. The time now is 05:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org