nfsd4: fix FREE_STATEID lockowner leak
[pandora-kernel.git] / fs / nfsd / nfs4state.c
index 7e1a7a8..6e91f8b 100644 (file)
@@ -3393,7 +3393,7 @@ nfsd4_free_lock_stateid(struct nfs4_ol_stateid *stp)
         * correspondance, and we have to delete the lockowner when we
         * delete the lock stateid:
         */
-       unhash_lockowner(lo);
+       release_lockowner(lo);
        return nfs_ok;
 }