Searched hist:ac39aadd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/gfs2/ |
H A D | log.c | ac39aadd Thu Jan 10 08:49:43 CST 2008 Steven Whitehouse <swhiteho@redhat.com> [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> ac39aadd Thu Jan 10 08:49:43 CST 2008 Steven Whitehouse <swhiteho@redhat.com> [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>
|