Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297470
b: refs/heads/master
c: cc27e0d
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and J. Bruce Fields committed Mar 26, 2012
1 parent d258d3a commit 4fc7dd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 813fd320c16691eac508fe350b4ee7362c6c4a56
refs/heads/master: cc27e0d407021a278d08c1952f5af4ab38c49eda
7 changes: 7 additions & 0 deletions trunk/fs/nfsd/nfs4recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,13 @@ nfsd4_load_reboot_recovery_data(struct net *net)
{
int status;

/* XXX: The legacy code won't work in a container */
if (net != &init_net) {
WARN(1, KERN_ERR "NFSD: attempt to initialize legacy client "
"tracking in a container!\n");
return -EINVAL;
}

nfs4_lock_state();
status = nfsd4_init_recdir();
if (!status)
Expand Down

0 comments on commit 4fc7dd6

Please sign in to comment.