GFS2: Remove potential race in flock code
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 9 Mar 2011 11:14:32 +0000 (11:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 9 Mar 2011 11:14:32 +0000 (11:14 +0000)
This patch ensures that we always wait for glock demotion when
dropping flocks on a file in order to prevent any race
conditions associated with further flock calls or closing
the file.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found