Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144881
b: refs/heads/master
c: 8daed1e
h: refs/heads/master
i:
  144879: 93ed863
v: v3
  • Loading branch information
J. Bruce Fields committed May 11, 2009
1 parent 2d04c71 commit 78aca63
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: 89996df4b5b1a09c279f50b3fd03aa9df735f5cb
refs/heads/master: 8daed1e549b55827758b3af7b8132a73fc51526f
4 changes: 2 additions & 2 deletions trunk/fs/nfsd/nfs4recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ nfsd4_list_rec_dir(struct dentry *dir, recdir_func *f)
goto out;
status = vfs_readdir(filp, nfsd4_build_namelist, &names);
fput(filp);
mutex_lock(&dir->d_inode->i_mutex);
mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT);
while (!list_empty(&names)) {
entry = list_entry(names.next, struct name_list, list);

Expand Down Expand Up @@ -264,7 +264,7 @@ nfsd4_unlink_clid_dir(char *name, int namlen)

dprintk("NFSD: nfsd4_unlink_clid_dir. name %.*s\n", namlen, name);

mutex_lock(&rec_dir.dentry->d_inode->i_mutex);
mutex_lock_nested(&rec_dir.dentry->d_inode->i_mutex, I_MUTEX_PARENT);
dentry = lookup_one_len(name, rec_dir.dentry, namlen);
if (IS_ERR(dentry)) {
status = PTR_ERR(dentry);
Expand Down

0 comments on commit 78aca63

Please sign in to comment.