]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7251dd2303d27b67c25ff0c612fe4980c199122
tree15464ab1cfa63b2e7b7c83006aa09e605aa7099a
parentdfe245f37ca5f5b5604b8984c618cd9b8965441d
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