ext4: missing unlock in ext4_clear_request_list()
authorDan Carpenter <error27@gmail.com>
Thu, 18 Nov 2010 02:46:25 +0000 (21:46 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 18 Nov 2010 02:46:25 +0000 (21:46 -0500)
commitf4c8cc652d9f70680dd91be60a7a455040d0a282
tree15464ab1cfa63b2e7b7c83006aa09e605aa7099a
parent08da1193d2c8c7a25d0cef7f85d0b9f1ad7c583a
ext4: missing unlock in ext4_clear_request_list()

If the the li_request_list was empty then it returned with the lock
held.  Instead of adding a "goto unlock" I just removed that special
case and let it go past the empty list_for_each_safe().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c