aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 1f67a96c4941..52ec47de1185 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -949,7 +949,7 @@ static void nfs4_put_stateowner(struct nfs4_stateowner *sop)
949 sop->so_ops->so_free(sop); 949 sop->so_ops->so_free(sop);
950} 950}
951 951
952static void unhash_generic_stateid(struct nfs4_ol_stateid *stp) 952static void unhash_ol_stateid(struct nfs4_ol_stateid *stp)
953{ 953{
954 struct nfs4_file *fp = stp->st_stid.sc_file; 954 struct nfs4_file *fp = stp->st_stid.sc_file;
955 955
@@ -1014,7 +1014,7 @@ static void unhash_lock_stateid(struct nfs4_ol_stateid *stp)
1014 lockdep_assert_held(&oo->oo_owner.so_client->cl_lock); 1014 lockdep_assert_held(&oo->oo_owner.so_client->cl_lock);
1015 1015
1016 list_del_init(&stp->st_locks); 1016 list_del_init(&stp->st_locks);
1017 unhash_generic_stateid(stp); 1017 unhash_ol_stateid(stp);
1018 unhash_stid(&stp->st_stid); 1018 unhash_stid(&stp->st_stid);
1019} 1019}
1020 1020
@@ -1095,7 +1095,7 @@ static void unhash_open_stateid(struct nfs4_ol_stateid *stp,
1095{ 1095{
1096 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); 1096 lockdep_assert_held(&stp->st_stid.sc_client->cl_lock);
1097 1097
1098 unhash_generic_stateid(stp); 1098 unhash_ol_stateid(stp);
1099 release_open_stateid_locks(stp, reaplist); 1099 release_open_stateid_locks(stp, reaplist);
1100} 1100}
1101 1101