]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
fix the deadlock in qib_fs
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 May 2010 01:32:44 +0000 (21:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Jun 2010 21:16:27 +0000 (17:16 -0400)
commit971b2e8a3f5dc0cbef19ec1a77b6d20237aa751e
tree83d7129b09c08d74ff2f6e494b71a83243db3925
parent0abbb609ac511fc226b8b1082613193c8ecf8324
fix the deadlock in qib_fs

get_sb_single() calls fill_super with superblock locked; calling
deactivate_super() will deadlock immedately.  Moreover, if fill_super
callback returns an error, get_sb_single() will release the reference
to superblock itself just fine.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/infiniband/hw/qib/qib_fs.c