]> err.no Git - linux-2.6/commit
configfs: add missing mutex_unlock()
authorJoel Becker <joel.becker@oracle.com>
Mon, 5 Mar 2007 23:49:49 +0000 (15:49 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 14 Mar 2007 21:37:21 +0000 (14:37 -0700)
commitafdf04ea098139e86147f63aad9c383cad3b6f37
tree2050cfea8aeea2280182cc0263efbd3ad0505b34
parent03f981cf2ec95dd8bc43d2ecccaec4e83c8375e2
configfs: add missing mutex_unlock()

d_alloc() failure in configfs_register_subsystem() would fail to unlock
the mutex taken above.  Reorganize the exit path to ensure the unlock
happens.

Reported-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/configfs/dir.c