Attached is a patch to allow nfs to compile as a module. Please check it out
as I just:
exported symbols from fs/seq_file.c
added the seq_file.o to the obj-exports in the VFS Makefile and
added an ifdef for modversions in fs/nfs/inode.c.
Craig.
--------------Boundary-00=_N0L6AQF5I4B7M934GSNM
Content-Type: text/x-diff;
charset="iso-8859-1";
name="nfs-module-2.5-unresolved-symbols.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="nfs-module-2.5-unresolved-symbols.diff"
ZGlmZiAtdXJOIGxpbnV4L2ZzL01ha2VmaWxlIGxpbnV4Lm10L2ZzL01ha2VmaWxlCi0tLSBsaW51
eC9mcy9NYWtlZmlsZQlTdW4gRGVjICA5IDIzOjU3OjI0IDIwMDEKKysrIGxpbnV4Lm10L2ZzL01h
a2VmaWxlCU1vbiBEZWMgMTAgMjI6MTg6MzEgMjAwMQpAQCAtNyw3ICs3LDcgQEAKIAogT19UQVJH
RVQgOj0gZnMubwogCi1leHBvcnQtb2JqcyA6PQlmaWxlc3lzdGVtcy5vIG9wZW4ubyBkY2FjaGUu
byBidWZmZXIubyBiaW8ubworZXhwb3J0LW9ianMgOj0JZmlsZXN5c3RlbXMubyBvcGVuLm8gZGNh
Y2hlLm8gYnVmZmVyLm8gYmlvLm8gc2VxX2ZpbGUubwogbW9kLXN1YmRpcnMgOj0JbmxzCiAKIG9i
ai15IDo9CW9wZW4ubyByZWFkX3dyaXRlLm8gZGV2aWNlcy5vIGZpbGVfdGFibGUubyBidWZmZXIu
byBcCmRpZmYgLXVyTiBsaW51eC9mcy9uZnMvaW5vZGUuYyBsaW51eC5tdC9mcy9uZnMvaW5vZGUu
YwotLS0gbGludXgvZnMvbmZzL2lub2RlLmMJU3VuIERlYyAgOSAyMzo1NzoyNCAyMDAxCisrKyBs
aW51eC5tdC9mcy9uZnMvaW5vZGUuYwlUdWUgRGVjIDExIDA4OjExOjEwIDIwMDEKQEAgLTE1LDYg
KzE1LDExIEBACiAKICNpbmNsdWRlIDxsaW51eC9jb25maWcuaD4KICN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C01Myw3ICs1Myw3IEBACiAJcmV0dXJuIC0x
OwogfQogCi1pbnQgc2VxX3ByaW50ZihzdHJ1Y3Qgc2VxX2ZpbGUgKiwgY29uc3QgY2hhciAqLCAu
Li4pCitleHRlcm4gaW50IHNlcV9wcmludGYoc3RydWN0IHNlcV9maWxlICosIGNvbnN0IGNoYXIg
KiwgLi4uKQogCV9fYXR0cmlidXRlX18gKChmb3JtYXQgKHByaW50ZiwyLDMpKSk7CiAKICNlbmRp
Zgo=
--------------Boundary-00=_N0L6AQF5I4B7M934GSNM--
-
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/