diff options
author | Joel Becker <joel.becker@oracle.com> | 2007-03-05 15:49:49 -0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-03-14 14:37:21 -0700 |
commit | afdf04ea098139e86147f63aad9c383cad3b6f37 (patch) | |
tree | 2050cfea8aeea2280182cc0263efbd3ad0505b34 /fs/char_dev.c | |
parent | 03f981cf2ec95dd8bc43d2ecccaec4e83c8375e2 (diff) | |
download | linux-afdf04ea098139e86147f63aad9c383cad3b6f37.tar.bz2 |
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>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions