GFS2: Fix unlock of fcntl locks during withdrawn state
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 14 Mar 2013 15:49:59 +0000 (15:49 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 4 Apr 2013 08:53:46 +0000 (09:53 +0100)
commitc2952d202f710d326ac36a8ea6bd216b20615ec8
treec7bb17e1d290ba8dd391f9567003173da7af4831
parent441362d06be349430d06e37286adce4b90e6ce96
GFS2: Fix unlock of fcntl locks during withdrawn state

When withdraw occurs, we need to continue to allow unlocks of fcntl
locks to occur, however these will only be local, since the node has
withdrawn from the cluster. This prevents triggering a VFS level
bug trap due to locks remaining when a file is closed.

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