]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Wait for unlock completion on umount
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 25 Jan 2010 11:20:19 +0000 (11:20 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 3 Feb 2010 09:47:04 +0000 (09:47 +0000)
commitc34eebaca220018e4c4f5a154abe486f179155a0
treec2e6c4d619c1cf35e97b16a9849517871c15d97b
parentc9dbe05dbca4a8474e5201d7d3d49faea9828c43
GFS2: Wait for unlock completion on umount

This patch adds a wait on umount between the point at which we
dispose of all glocks and the point at which we unmount the
lock protocol. This ensures that we've received all the replies
to our unlock requests before we stop the locking.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reported-by: Fabio M. Di Nitto <fdinitto@redhat.com>
fs/gfs2/incore.h
fs/gfs2/lock_dlm.c
fs/gfs2/ops_fstype.c
fs/gfs2/super.c