From mboxrd@z Thu Jan 1 00:00:00 1970 From: wcheng@sourceware.org Date: 27 Oct 2006 16:22:18 -0000 Subject: [Cluster-devel] cluster/gfs-kernel/src/gfs ops_file.c Message-ID: <20061027162218.1969.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: wcheng at sourceware.org 2006-10-27 16:22:18 Modified files: gfs-kernel/src/gfs: ops_file.c Log message: Bugzilla 211622 - Root issue is found and fix. Backout the workaround. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_file.c.diff?cvsroot=cluster&r1=1.27&r2=1.28 --- cluster/gfs-kernel/src/gfs/ops_file.c 2006/10/24 03:35:11 1.27 +++ cluster/gfs-kernel/src/gfs/ops_file.c 2006/10/27 16:22:17 1.28 @@ -303,7 +303,7 @@ struct inode *inode = file->f_mapping->host; struct gfs_inode *ip = get_v2ip(inode); unsigned int state = LM_ST_DEFERRED; - int flags = LM_FLAG_ANY; + int flags = 0; unsigned int x; ssize_t count = 0; int error; @@ -635,7 +635,7 @@ struct gfs_inode *ip = get_v2ip(file->f_mapping->host); struct gfs_sbd *sdp = ip->i_sbd; struct gfs_file *fp = get_v2fp(file); - unsigned int state = LM_ST_EXCLUSIVE; + unsigned int state = LM_ST_DEFERRED; int alloc_required; unsigned int x; size_t s;