GFS2: Wait for unlock completion on umount
commite402746a945ceb9d0486a8e3d5917c9228fa4404
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 25 Jan 2010 11:20:19 +0000 (25 11:20 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 3 Feb 2010 09:47:04 +0000 (3 09:47 +0000)
treec2e6c4d619c1cf35e97b16a9849517871c15d97b
parent1a45dcfe2525e9432cb4aba461d4994fc2befe42
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