]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Review bug traps in glops.c
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Oct 2012 09:57:02 +0000 (10:57 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Nov 2012 13:31:07 +0000 (13:31 +0000)
commit04ad35a384071922af31e13ac24b849c41b87d21
treef43287fa4232a5fdcf78eb74a004ec986c261807
parent28d433452a9c90b20caf5628a6864b664fe88c05
GFS2: Review bug traps in glops.c

Two of the bug traps here could really be warnings. The others are
converted from BUG() to GLOCK_BUG_ON() since we'll most likely
need to know the glock state in order to debug any issues which
arise. As a result of this, __dump_glock has to be renamed and
is no longer static.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glock.h
fs/gfs2/glops.c