]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 04:48:28 +0000 (21:48 -0700)
commita7d0c9176bb6e15c483a020816b2ecb60716f79a
tree3889278c6c0260f1a7749ede49148deb5945b34a
parentfccf4d03235294c978b2390a9ce575b33b0fbe5a
GFS2: Fix unlock of fcntl locks during withdrawn state

commit c2952d202f710d326ac36a8ea6bd216b20615ec8 upstream.

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>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/gfs2/file.c