aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-03-09 11:14:32 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2011-03-09 11:14:32 +0000
commit0a33443b38746f35fc4acc8a5af6c7099e03ea40 (patch)
tree523d8bec4c49a3b04b46fe275e1c4ef3f18fba7a /fs/gfs2/glock.c
parentfc0e38dae645f65424d1fb5d2a938aab8ce48a58 (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>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions