Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109712
b: refs/heads/master
c: 761e29f
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Hunter authored and Artem Bityutskiy committed Aug 25, 2008
1 parent 2302da0 commit 514c836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04da11bfcf511544ae19e0a7e5f994b3237752ac
refs/heads/master: 761e29f3bb19b05bea55285dfdf2d28e001a63b8
7 changes: 1 addition & 6 deletions trunk/fs/ubifs/tnc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,6 @@ static int do_lookup_nm(struct ubifs_info *c, const union ubifs_key *key,
{
int found, n, err;
struct ubifs_znode *znode;
struct ubifs_zbranch zbr;

dbg_tnc("name '%.*s' key %s", nm->len, nm->name, DBGKEY(key));
mutex_lock(&c->tnc_mutex);
Expand All @@ -1522,11 +1521,7 @@ static int do_lookup_nm(struct ubifs_info *c, const union ubifs_key *key,
goto out_unlock;
}

zbr = znode->zbranch[n];
mutex_unlock(&c->tnc_mutex);

err = tnc_read_node_nm(c, &zbr, node);
return err;
err = tnc_read_node_nm(c, &znode->zbranch[n], node);

out_unlock:
mutex_unlock(&c->tnc_mutex);
Expand Down

0 comments on commit 514c836

Please sign in to comment.