diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 62b3ae280310..036d8625b4f9 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -646,7 +646,7 @@ static int _nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state | |||
646 | rcu_read_lock(); | 646 | rcu_read_lock(); |
647 | delegation = rcu_dereference(NFS_I(state->inode)->delegation); | 647 | delegation = rcu_dereference(NFS_I(state->inode)->delegation); |
648 | if (delegation != NULL && (delegation->flags & NFS_DELEGATION_NEED_RECLAIM) != 0) | 648 | if (delegation != NULL && (delegation->flags & NFS_DELEGATION_NEED_RECLAIM) != 0) |
649 | delegation_type = delegation->flags; | 649 | delegation_type = delegation->type; |
650 | rcu_read_unlock(); | 650 | rcu_read_unlock(); |
651 | opendata->o_arg.u.delegation_type = delegation_type; | 651 | opendata->o_arg.u.delegation_type = delegation_type; |
652 | status = nfs4_open_recover(opendata, state); | 652 | status = nfs4_open_recover(opendata, state); |