[AF_RXRPC]: Add an interface to the AF_RXRPC module for the AFS filesystem to use
[powerpc.git] / net / rxrpc / ar-local.c
index a20a2c0..fe03f71 100644 (file)
@@ -228,7 +228,7 @@ void rxrpc_put_local(struct rxrpc_local *local)
        write_lock_bh(&rxrpc_local_lock);
        if (unlikely(atomic_dec_and_test(&local->usage))) {
                _debug("destroy local");
-               schedule_work(&local->destroyer);
+               rxrpc_queue_work(&local->destroyer);
        }
        write_unlock_bh(&rxrpc_local_lock);
        _leave("");