Message ID | CAN-5tyHTmx7KM76DRa5F5PwgJpNsZELf8BBHeoBq-yacHfzpmg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 06274e3..2c668a0 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c @@ -1321,11 +1321,6 @@ static int nfs4_state_mark_reclaim_reboot(struct nfs_client *clp, struct nfs4_st if (!nfs4_valid_open_stateid(state)) return 0; set_bit(NFS_STATE_RECLAIM_REBOOT, &state->flags); - /* Don't recover state that expired before the reboot */ - if (test_bit(NFS_STATE_RECLAIM_NOGRACE, &state->flags)) { - clear_bit(NFS_STATE_RECLAIM_REBOOT, &state->flags); - return 0; - } set_bit(NFS_OWNER_RECLAIM_REBOOT, &state->owner->so_flags); set_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state);