Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261742AbUDSVKu (ORCPT ); Mon, 19 Apr 2004 17:10:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261474AbUDSVKt (ORCPT ); Mon, 19 Apr 2004 17:10:49 -0400 Received: from dh132.citi.umich.edu ([141.211.133.132]:7040 "EHLO lade.trondhjem.org") by vger.kernel.org with ESMTP id S261742AbUDSVK2 (ORCPT ); Mon, 19 Apr 2004 17:10:28 -0400 Subject: Re: NFS and kernel 2.6.x From: Trond Myklebust To: Russell King Cc: Marc Singer , linux-kernel@vger.kernel.org In-Reply-To: <1082392797.2559.54.camel@lade.trondhjem.org> References: <20040415185355.1674115b.akpm@osdl.org> <1082084048.7141.142.camel@lade.trondhjem.org> <20040416045924.GA4870@linuxace.com> <1082093346.7141.159.camel@lade.trondhjem.org> <1082225747.2580.18.camel@lade.trondhjem.org> <20040417183219.GB3856@flea> <1082228313.2580.25.camel@lade.trondhjem.org> <20040417190107.GA4179@flea> <1082228963.2580.34.camel@lade.trondhjem.org> <20040417201914.B21974@flint.arm.linux.org.uk> <1082256704.3619.68.camel@lade.trondhjem.org> <1082392797.2559.54.camel@lade.trondhjem.org> Content-Type: multipart/mixed; boundary="=-fj+nyMYxSqEW7zegQW+n" Message-Id: <1082409028.3360.17.camel@lade.trondhjem.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 19 Apr 2004 17:10:28 -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4642 Lines: 80 --=-fj+nyMYxSqEW7zegQW+n Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-04-19 at 12:39, Trond Myklebust wrote: > It turned out there were a few extra issues that weren't fixed by the > previous patch. Thanks to boris@macbeth.rhoen.de for helping debug them. > > Hopefully this will be the final set of fixes. Sigh. It wasn't... The remote path was still not getting set properly. Here's the final version. Tested, and it should now work according to spec! Cheers, Trond --=-fj+nyMYxSqEW7zegQW+n Content-Description: Content-Disposition: inline; filename=linux-2.6.6-02-fix_nfsroot.dif Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=iso-8859-1 IG5mc3Jvb3QuYyB8ICAgMzAgKysrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tDQogMSBmaWxl cyBjaGFuZ2VkLCAxOSBpbnNlcnRpb25zKCspLCAxMSBkZWxldGlvbnMoLSkNCg0KZGlmZiAtdSAt LXJlY3Vyc2l2ZSAtLW5ldy1maWxlIC0tc2hvdy1jLWZ1bmN0aW9uIGxpbnV4LTIuNi42LTAxLXNv ZnQvZnMvbmZzL25mc3Jvb3QuYyBsaW51eC0yLjYuNi0wMi1maXhfbmZzcm9vdC9mcy9uZnMvbmZz cm9vdC5jDQotLS0gbGludXgtMi42LjYtMDEtc29mdC9mcy9uZnMvbmZzcm9vdC5jCTIwMDQtMDQt MTkgMTI6Mjc6NTEuMDAwMDAwMDAwIC0wNDAwDQorKysgbGludXgtMi42LjYtMDItZml4X25mc3Jv b3QvZnMvbmZzL25mc3Jvb3QuYwkyMDA0LTA0LTE5IDE2OjI2OjEyLjAwMDAwMDAwMCAtMDQwMA0K QEAgLTExNywxMSArMTE3LDE2IEBAIHN0YXRpYyBpbnQgbW91bnRfcG9ydCBfX2luaXRkYXRhID0g MDsJCS8NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqLw0KIA0KIGVudW0gew0KKwkvKiBPcHRpb25zIHRo YXQgdGFrZSBpbnRlZ2VyIGFyZ3VtZW50cyAqLw0KIAlPcHRfcG9ydCwgT3B0X3JzaXplLCBPcHRf d3NpemUsIE9wdF90aW1lbywgT3B0X3JldHJhbnMsIE9wdF9hY3JlZ21pbiwNCi0JT3B0X2FjcmVn bWF4LCBPcHRfYWNkaXJtaW4sIE9wdF9hY2Rpcm1heCwgT3B0X3NvZnQsIE9wdF9o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bmZzX25hbWUoY2hhciAqbmENCiAJbmZzX2Rh dGEuZmxhZ3MgICAgPSBORlNfTU9VTlRfTk9OTE07CS8qIE5vIGxvY2tkIGluIG5mcyByb290IHll dCAqLw0KIAluZnNfZGF0YS5yc2l6ZSAgICA9IE5GU19ERUZfRklMRV9JT19CVUZGRVJfU0laRTsN CiAJbmZzX2RhdGEud3NpemUgICAgPSBORlNfREVGX0ZJTEVfSU9fQlVGRkVSX1NJWkU7DQotCW5m c19kYXRhLmJzaXplCSAgPSAwOw0KLQluZnNfZGF0YS50aW1lbyAgICA9IDc7DQotCW5mc19kYXRh LnJldHJhbnMgID0gMzsNCiAJbmZzX2RhdGEuYWNyZWdtaW4gPSAzOw0KIAluZnNfZGF0YS5hY3Jl Z21heCA9IDYwOw0KIAluZnNfZGF0YS5hY2Rpcm1pbiA9IDMwOw0K --=-fj+nyMYxSqEW7zegQW+n-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/