GFS2: Allow flocks to use normal glock dq rather than dq_wait
authorBob Peterson <rpeterso@redhat.com>
Thu, 26 Jun 2014 14:46:25 +0000 (10:46 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 18 Jul 2014 10:13:56 +0000 (11:13 +0100)
This patch allows flock glocks to use a non-blocking dequeue rather
than dq_wait. It also reverts the previous patch I had posted regarding
dq_wait. The reverted patch isn't necessarily a bad idea, but I decided
this might avoid unforeseen side effects, and was therefore safer.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c
fs/gfs2/glock.c

diff --cc fs/gfs2/file.c
Simple merge
diff --cc fs/gfs2/glock.c
Simple merge