aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index ce1ebff49fd7..755ee162ee7e 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1790,7 +1790,7 @@ static void nfs41_clear_delegation_stateid(struct nfs4_state *state)
1790static int nfs41_check_open_stateid(struct nfs4_state *state) 1790static int nfs41_check_open_stateid(struct nfs4_state *state)
1791{ 1791{
1792 struct nfs_server *server = NFS_SERVER(state->inode); 1792 struct nfs_server *server = NFS_SERVER(state->inode);
1793 nfs4_stateid *stateid = &state->stateid; 1793 nfs4_stateid *stateid = &state->open_stateid;
1794 int status; 1794 int status;
1795 1795
1796 /* If a state reset has been done, test_stateid is unneeded */ 1796 /* If a state reset has been done, test_stateid is unneeded */