Btrfs: avoid deadlocks from GFP_KERNEL allocations during btrfs_real_readdir
[firefly-linux-kernel-4.4.55.git] / fs / lockd / clntlock.c
index 25509eb28fd71980fa030aa39a1e81f225da43f9..8d4ea8351e3d4e093263104764d0f959aa35c05b 100644 (file)
@@ -79,7 +79,7 @@ EXPORT_SYMBOL_GPL(nlmclnt_init);
  */
 void nlmclnt_done(struct nlm_host *host)
 {
-       nlm_release_host(host);
+       nlmclnt_release_host(host);
        lockd_down();
 }
 EXPORT_SYMBOL_GPL(nlmclnt_done);
@@ -273,7 +273,7 @@ restart:
        spin_unlock(&nlm_blocked_lock);
 
        /* Release host handle after use */
-       nlm_release_host(host);
+       nlmclnt_release_host(host);
        lockd_down();
        return 0;
 }