GFS2: Fix locking issue mounting gfs2meta fs
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 5 Jun 2009 06:18:57 +0000 (07:18 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 5 Jun 2009 07:35:15 +0000 (08:35 +0100)
commitf6d03139d745198b434f65a28aabed524f415a4c
treee308567651c18954de9acd0fa8a359221680d3c1
parente09f9446b94ac64b27d37e98c1110f29d712cdad
GFS2: Fix locking issue mounting gfs2meta fs

This patch uses sget() to get a reference to the
existing gfs2 sb when mouting the gfs2meta filesystem
(in fact thats just another mount of the gfs2
filesystem with a different root and this interface
is for backward compatibility).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reported-by: Benjamin Marzinski <bmarzins@redhat.com>
Tested-by: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
fs/gfs2/ops_fstype.c