vfs: add missing unlock in sget()
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 12 Mar 2009 21:31:29 +0000 (14:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Mar 2009 23:20:23 +0000 (16:20 -0700)
commita3cfbb53b1764a3d1f58ddc032737ab9edaa7d41
tree818ca39043749382a4b91d0310f532bf2fdc22ce
parente5bc49ba7439b9726006d031d440cba96819f0f8
vfs: add missing unlock in sget()

In sget(), destroy_super(s) is called with s->s_umount held, which makes
lockdep unhappy.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/super.c