]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 15 Oct 2012 09:57:02 +0000 (10:57 +0100)
commita0d15d8c2cce46fa39972d399e55086dcf175f2f
tree2dc2443c1894012541c148c09fe0eec7f378f58c
parentddffeb8c4d0331609ef2581d84de4d763607bd37
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