Hallo, John,

Du meintest am 10.09.09 zum Thema Re: [Dazuko-help] dazukofs-3.0.1rc2 won't 
compile:

>> make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
>> make[1]: Entering directory `/usr/src/linux-2.6.29.6'
>>   CC [M]  /usr/src/dazukofs-3.0.1-rc2/file.o
>> /usr/src/dazukofs-3.0.1-rc2/file.c: In function 'dazukofs_open':
>> /usr/src/dazukofs-3.0.1-rc2/file.c:193: error: too few arguments to
>> function 'dentry_open'

> What does your /usr/src/linux-2.6.29.6/include/linux/fs.h look
> like. (Actually, I am only interested in the prototype for
> dentry_open.)

/* fs/open.c */

extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
                       struct file *filp);
extern long do_sys_open(int dfd, const char __user *filename, int flags,
                        int mode);
extern struct file *filp_open(const char *, int, int);
extern struct file * dentry_open(struct dentry *, struct vfsmount *, int,
                                 const struct cred *);
extern int filp_close(struct file *, fl_owner_t id);
extern char * getname(const char __user *);


> DazukoFS 3.1.0-rc2 (which is the version you should use) is made for
> Linux 2.6.30. The API for 2.6.29 might be a bit different (but it may
> be a simple change to get it to run).

I'll try it the next days.

Viele Gruesse!
Helmut


_______________________________________________
Dazuko-help mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-help

Reply via email to