Commit 6d29dc24 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] missed unlock_kernel() in ext3+htree

Patch from Alex Tomas <bzzz@tmi.comex.ru>

There's a missing unlock_kernel().
parent a69236c2
...@@ -105,8 +105,10 @@ static int ext3_readdir(struct file * filp, ...@@ -105,8 +105,10 @@ static int ext3_readdir(struct file * filp,
if (is_dx(inode)) { if (is_dx(inode)) {
err = ext3_dx_readdir(filp, dirent, filldir); err = ext3_dx_readdir(filp, dirent, filldir);
if (err != ERR_BAD_DX_DIR) if (err != ERR_BAD_DX_DIR) {
unlock_kernel();
return err; return err;
}
/* /*
* We don't set the inode dirty flag since it's not * We don't set the inode dirty flag since it's not
* critical that it get flushed back to the disk. * critical that it get flushed back to the disk.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment