Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284645
b: refs/heads/master
c: aec3968
h: refs/heads/master
i:
  284643: cf0ab63
v: v3
  • Loading branch information
J. Bruce Fields committed Jan 2, 2012
1 parent b49a8d0 commit 85e5377
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 2d3475c0ad625f7a43844a6cd0130d136416e604
refs/heads/master: aec39680b02ed55fcbb2bc87ad96eba16a651546
9 changes: 8 additions & 1 deletion trunk/fs/nfsd/nfs4recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,15 @@ nfsd4_create_clid_dir(struct nfs4_client *clp)
status = PTR_ERR(dentry);
goto out_unlock;
}
status = -EEXIST;
if (dentry->d_inode)
/*
* In the 4.1 case, where we're called from
* reclaim_complete(), records from the previous reboot
* may still be left, so this is OK.
*
* In the 4.0 case, we should never get here; but we may
* as well be forgiving and just succeed silently.
*/
goto out_put;
status = mnt_want_write(rec_file->f_path.mnt);
if (status)
Expand Down

0 comments on commit 85e5377

Please sign in to comment.