[GFS2] Fix a bug on i386 due to evaluation order
authorSteven Whitehouse <swhiteho@redhat.com>
Sun, 18 Mar 2007 16:05:27 +0000 (16:05 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:10:42 +0000 (09:10 +0100)
Since gcc didn't evaluate the last two terms of the expression in
glock.c:1881 as a constant expression, it resulted in an error on
i386 due to the lack of a 64bit divide instruction. This adds some
brackets to fix the problem.

This was reported by Andrew Morton.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>

No differences found