[linux-cifs-client] can't compile cifs 1.17 on Mandrake 10 (2.6.3-14mdk)

Miguel Cañedo mcanedo at grupogcm.com
Wed Jul 7 17:32:24 GMT 2004


Wow! thanks for that fastest answer, nevertheless I must ask for more help:

> 1) change sock_create_kern -> sock_create

This was easy

>2) reference to struct page_struct field elements list in fs/cifs/file.c)
> need to be changed back to the old name lru

I'm sorry did not get that (I'm not a real programmer) could you please be 
more specific?

What I try to understood is to modify soomething like this:

static int cifs_partialpagewrite(struct page *page,unsigned from, unsigned to)
**** change to:
static int cifs_partialpagewrite(struct lru *page,unsigned from, unsigned to)
{
	struct address_space *mapping = page->mapping;
**** chnage to:
	struct address_space *mapping = lru->mapping;

Would that be correct?

> 3) minor references to non-existent functions (in the old 2.6) need to be
> removed (e.g. generic_fcntl)

the function generic_fcntl is not included in any place of the fs/cifs files 
how can I know what functions are the non-existent ones?

Thanks a lot.
Miguel


More information about the linux-cifs-client mailing list