Commit 015d2aec authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: Fix a bug in the open reboot-recovery code.

parent 78f673ca
...@@ -731,6 +731,8 @@ nfs4_reclaim_open_state(struct nfs4_state_owner *sp) ...@@ -731,6 +731,8 @@ nfs4_reclaim_open_state(struct nfs4_state_owner *sp)
int status = 0; int status = 0;
list_for_each_entry(state, &sp->so_states, open_states) { list_for_each_entry(state, &sp->so_states, open_states) {
if (state->state == 0)
continue;
status = nfs4_open_reclaim(sp, state); status = nfs4_open_reclaim(sp, state);
if (status >= 0) if (status >= 0)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment