GFS2: Move umount flush rwsem
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 7 Apr 2009 13:01:34 +0000 (14:01 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 15 Apr 2009 09:16:13 +0000 (10:16 +0100)
commita228df6339e0d385b8149c860d81b6007f5e9c81
treebf744dbc6bf8849ea7b81581818722c4e90b553e
parent5cf32524de745c56e1411d63eccf23fef1709d73
GFS2: Move umount flush rwsem

The rwsem, used only on umount, is in the wrong place in glock.c.
This patch moves it up a bit so that it does not get called under
a spinlock.

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