[Cluster-devel] [GFS2] Don't use journal lock type

David Teigland teigland at redhat.com
Tue Aug 7 13:45:10 UTC 2007


On Tue, Aug 07, 2007 at 10:26:06AM +0100, Steven Whitehouse wrote:
>  		error = gfs2_glock_nq_num(sdp, sdp->sd_lockstruct.ls_jid,
> -					  &gfs2_journal_glops,
> +					  &gfs2_inode_glops,
>  					  LM_ST_EXCLUSIVE, LM_FLAG_NOEXP,
>  					  &sdp->sd_journal_gh);

The lock for journal N is now the same as the lock for the inode at
block N -- that doesn't work.




More information about the Cluster-devel mailing list