diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 15:21:43 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 15:21:43 -0500 |
commit | 7eff03aec917e17f733471d7e12c262c0c96409f (patch) | |
tree | 6f0e7b53cbf55689cd37cfe3b1b087b8c61ac4cd /fs/nfs/nfs4proc.c | |
parent | 0f605b56008c4b6b075217480c36ba395ca4eaa4 (diff) |
NFSv4: Add a recovery marking scheme for state owners
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 780ba004b3dd..019c8d67e145 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -3690,12 +3690,14 @@ int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | |||
3690 | } | 3690 | } |
3691 | 3691 | ||
3692 | struct nfs4_state_recovery_ops nfs4_reboot_recovery_ops = { | 3692 | struct nfs4_state_recovery_ops nfs4_reboot_recovery_ops = { |
3693 | .owner_flag_bit = NFS_OWNER_RECLAIM_REBOOT, | ||
3693 | .state_flag_bit = NFS_STATE_RECLAIM_REBOOT, | 3694 | .state_flag_bit = NFS_STATE_RECLAIM_REBOOT, |
3694 | .recover_open = nfs4_open_reclaim, | 3695 | .recover_open = nfs4_open_reclaim, |
3695 | .recover_lock = nfs4_lock_reclaim, | 3696 | .recover_lock = nfs4_lock_reclaim, |
3696 | }; | 3697 | }; |
3697 | 3698 | ||
3698 | struct nfs4_state_recovery_ops nfs4_nograce_recovery_ops = { | 3699 | struct nfs4_state_recovery_ops nfs4_nograce_recovery_ops = { |
3700 | .owner_flag_bit = NFS_OWNER_RECLAIM_NOGRACE, | ||
3699 | .state_flag_bit = NFS_STATE_RECLAIM_NOGRACE, | 3701 | .state_flag_bit = NFS_STATE_RECLAIM_NOGRACE, |
3700 | .recover_open = nfs4_open_expired, | 3702 | .recover_open = nfs4_open_expired, |
3701 | .recover_lock = nfs4_lock_expired, | 3703 | .recover_lock = nfs4_lock_expired, |