Return-Path: Received: from mailhub.sw.ru ([195.214.232.25]:42601 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751766Ab1FANhR (ORCPT ); Wed, 1 Jun 2011 09:37:17 -0400 Received: from [10.30.3.27] ([10.30.3.27]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id p51Dd3sa007210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Jun 2011 17:39:04 +0400 (MSD) Message-ID: <4DE6408A.8050105@parallels.com> Date: Wed, 01 Jun 2011 17:37:14 +0400 From: Vasily Averin To: linux-nfs@vger.kernel.org Subject: [PATCH 2/2] lockd: properly convert be32 values in debug messages Content-Type: multipart/mixed; boundary="------------040308090600050507000400" Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 --------------040308090600050507000400 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit --------------040308090600050507000400 Content-Type: text/plain; name="diff-sunrpc-debug-20110601-2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="diff-sunrpc-debug-20110601-2" RnJvbSBiZTFlNGZhNDVhYTBjODI4ZDJlODY0YzE2MDg1N2E0MWQyZGUwNTMxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBWYXNpbHkgQXZlcmluIDx2dnNAc3cucnU+CkRhdGU6IFdlZCwg MSBKdW4gMjAxMSAxNjo1NDozMiArMDQwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBsb2NrZDogcHJv cGVybHkgY29udmVydCBiZTMyIHZhbHVlcyBpbiBkZWJ1ZyBtZXNzYWdlcwoKbG9ja2Q6IHNlcnZl ciByZXR1cm5zIHN0YXR1cyA1MDMzMTY0OCAKaXQncyBxdWl0ZSBoYXJkIHRvIHVuZGVyc3RhbmQg dGhhdCBudW1iZXIgaW4gdGhpcyBtZXNzYWdlIGlzIDMgaW4gYmlnIGVuZG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