]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Fix assert in log code
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 10 Jan 2008 14:49:43 +0000 (14:49 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:18:03 +0000 (08:18 +0000)
commitac39aadd0440ae696e6dacaa8006ce1737b17008
treed2a6784809c6bec674879dc865de4150e8b0fb01
parent9656b2c14c6ee0806c90a6be41dec71117fc8f50
[GFS2] Fix assert in log code

Although the values were all being calculated correctly, there was a
race in the assert due to the way it was using atomic variables. This
changes the value we assert on so that we get the same effect by testing
a different variable. This prevents the assert triggering when it shouldn't.

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