Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168838
b: refs/heads/master
c: 6511de3
h: refs/heads/master
v: v3
  • Loading branch information
David Howells committed Nov 19, 2009
1 parent 67255cb commit fd5f155
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5e929b33c3935ecb029b3e495356b2b8af432efa
refs/heads/master: 6511de33c877a53b3df545bc06c29e0f272837ff
4 changes: 2 additions & 2 deletions trunk/fs/cachefiles/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ int cachefiles_delete_object(struct cachefiles_cache *cache,

dir = dget_parent(object->dentry);

mutex_lock(&dir->d_inode->i_mutex);
mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT);
ret = cachefiles_bury_object(cache, dir, object->dentry);

dput(dir);
Expand Down Expand Up @@ -307,7 +307,7 @@ int cachefiles_walk_to_object(struct cachefiles_object *parent,
/* search the current directory for the element name */
_debug("lookup '%s'", name);

mutex_lock(&dir->d_inode->i_mutex);
mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT);

start = jiffies;
next = lookup_one_len(name, dir, nlen);
Expand Down

0 comments on commit fd5f155

Please sign in to comment.