commit | 0a33443b38746f35fc4acc8a5af6c7099e03ea40 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Mar 09 11:14:32 2011 +0000 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Wed Mar 09 11:14:32 2011 +0000 |
tree | 523d8bec4c49a3b04b46fe275e1c4ef3f18fba7a | |
parent | fc0e38dae645f65424d1fb5d2a938aab8ce48a58 [diff] |
GFS2: Remove potential race in flock code 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>