Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261856AbUCJKxw (ORCPT ); Wed, 10 Mar 2004 05:53:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261999AbUCJKxw (ORCPT ); Wed, 10 Mar 2004 05:53:52 -0500 Received: from pop.gmx.net ([213.165.64.20]:5817 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S261856AbUCJKxj (ORCPT ); Wed, 10 Mar 2004 05:53:39 -0500 Date: Wed, 10 Mar 2004 11:53:38 +0100 (MET) From: =?ISO-8859-1?Q?=22Fabian_LoneStar_Fr=E9d=E9rick=22?= To: linux-kernel@vger.kernel.org Cc: akpm@osdl.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="========GMXBoundary244901078916018" Subject: [PATCH 2.6.4rc2mm1] nfsroot parser X-Priority: 3 (Normal) X-Authenticated: #9223398 Message-ID: <24490.1078916018@www18.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10643 Lines: 163 This is a MIME encapsulated multipart message - please use a MIME-compliant e-mail program to open it. Dies ist eine mehrteilige Nachricht im MIME-Format - bitte verwenden Sie zum Lesen ein MIME-konformes Mailprogramm. --========GMXBoundary244901078916018 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi, Here's a patch against 2.6.4rc2mm1. -Nfs root standard parser -Enum activated :) PS : This time it compiles :) Regards, Fabian -- +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz --========GMXBoundary244901078916018 Content-Type: application/octet-stream; name="nfs_parse2.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="nfs_parse2.diff" ZGlmZiAtTmF1ciBvcmlnL2ZzL25mcy9uZnNyb290LmMgZWRpdGVkL2ZzL25mcy9uZnNy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KworCWlm IChuYW1lWzBdICYmIHN0cmNtcChuYW1lLCAiZGVmYXVsdCIpKXsKKwkJc3RybGNweShidWYsIG5h bWUsIE5GU19NQVhQQVRITEVOKTsKKwkJcmV0dXJuIDE7CisJfQorCXdoaWxlICgocCA9IHN0cnNl cCAoJm5hbWUsICIsIikpICE9IE5VTEwpIHsKKwkJaW50IHRva2VuOyAKKwkJaWYgKCEqcCkKKwkJ CWNvbnRpbnVlOworCQl0b2tlbiA9IG1hdGNoX3Rva2VuKHAsIHRva2VucywgYXJncyk7CisKKwkJ LyogJXUgdG9rZW5zIG9ubHkgKi8KKwkJaWYgKG1hdGNoX2ludCgmYXJnc1swXSwgJm9wdGlvbikp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAwOworCQlzd2l0Y2ggKHRv a2VuKSB7CisJCQljYXNlIE9wdF9wb3J0OgorCQkJCW5mc19wb3J0ID0gb3B0aW9uOworCQkJCWJy ZWFrOworCQkJY2FzZSBPcHRfcnNpemU6CisJCQkJbmZzX2RhdGEucnNpemUgPSBvcHRpb247CisJ CQkJYnJlYWs7CisJCQljYXNlIE9wdF93c2l6ZToKKwkJCQluZnNfZGF0YS53c2l6ZSA9IG9wdGlv bjsKKwkJCQlicmVhazsKKwkJCWNhc2UgT3B0X3RpbWVvOgorCQkJCW5mc19kYXRhLnRpbWVvID0g b3B0aW9uOworCQkJCWJyZWFrOworCQkJY2FzZSBPcHRfcmV0cmFuczoKKwkJCQluZnNfZGF0YS5y ZXRyYW5zID0gb3B0aW9uOworCQkJCWJyZWFrOworCQkJY2FzZSBPcHRfYWNyZWdtaW46CisJCQkJ bmZzX2RhdGEuYWNyZWdtaW4gPSBvcHRpb247CisJCQkJYnJlYWs7CisJCQljYXNlIE9wdF9hY3Jl Z21heDoKKwkJCQluZnNfZGF0YS5hY3JlZ21heCA9IG9wdGlvbjsKKwkJCQlicmVhazsKKwkJCWNh c2UgT3B0X2FjZGlybWluOgorCQkJCW5mc19kYXRhL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c19kYXRhLmZsYWdzIHw9IDA7CisJCQkJYnJlYWs7CisJCQljYXNlIE9wdF90Y3A6CisJCQkJ bmZzX2RhdGEuZmxhZ3MgJj0gfk5GU19NT1VOVF9UQ1A7CisJCQkJbmZzX2RhdGEuZmxhZ3MgfD0g TkZTX01PVU5UX1RDUDsKKwkJCQlicmVhazsKKwkJCWNhc2UgT3B0X2Jyb2tlbl9zdWlkOgorCQkJ CW5mc19kYXRhLmZsYWdzICY9IH5ORlNfTU9VTlRfQlJPS0VOX1NVSUQ7CisJCQkJbmZzX2RhdGEu ZmxhZ3MgfD0gTkZTX01PVU5UX0JST0tFTl9TVUlEOworCQkJCWJyZWFrOworCQkJZGVmYXVsdCA6 IAorCQkJCXJldHVybiAwOwogCQl9CiAJfQotCWlmIChuYW1lWzBdICYmIHN0cmNtcChuYW1lLCAi ZGVmYXVsdCIpKQotCQlzdHJsY3B5KGJ1ZiwgbmFtZSwgTkZTX01BWFBBVEhMRU4pOworCXJldHVy biAxOwogfQogCi0KIC8qCiAgKiAgUHJlcGFyZSB0aGUgTkZTIGRhdGEgc3RydWN0dXJlIGFuZCBw YXJzZSBhbGwgb3B0aW9ucy4KICAqLwo= --========GMXBoundary244901078916018-- - 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/