Re: cvs tree
Andre Tomt <[email protected]> Mon, 11 Oct 2004 16:29:23 +0200
| Newsgroups | gmane.linux.file-systems.acl.devel |
|---|---|
| Message-ID | <[email protected]> |
Andreas Gruenbacher wrote: > there is no public CVS tree, but I have uploaded a snapshot for you to > http://acl.bestbits.at/nfsacl/2.6.9-rc2/. There seems to be two problems with those patches, one with compiling with gcc-2.95 (fix attached - this was also present in the version that was posted in LKML a while back), and a used function thats not exported. I havn't been able to track it down either, hence I have nothing to export. The function in question is rpc_change_program, a missing patch? This is on 2.6.9-rc4. _______________________________________________ acl-devel mailing list [email protected] http://acl.bestbits.at/mailman/listinfo/acl-devel
41_fs_nfs-acl-xdr-gcc-2.95-build-fix.patch
(text/x-patch, 734 B)
diff -Naur linux-2.6.9-rc4-1/net/sunrpc/xdr.c linux-2.6.9-rc4-2/net/sunrpc/xdr.c
--- linux-2.6.9-rc4-1/net/sunrpc/xdr.c 2004-10-11 13:05:28.000000000 +0200
+++ linux-2.6.9-rc4-2/net/sunrpc/xdr.c 2004-10-11 13:27:50.000000000 +0200
@@ -1107,6 +1107,7 @@
unsigned int copied = 0, todo, avail_here;
struct page **ppages = NULL;
int err = 0;
+ unsigned int avail_page;
if (encode) {
if (xdr_encode_word(buf, base, desc->array_len) != 0)
@@ -1160,7 +1161,7 @@
base += buf->page_base;
ppages = buf->pages + (base >> PAGE_CACHE_SHIFT);
base &= ~PAGE_CACHE_MASK;
- unsigned int avail_page = min_t(unsigned int,
+ avail_page = min_t(unsigned int,
PAGE_CACHE_SIZE - base, avail_here);
c = kmap(*ppages) + base;