Hello. The prototype of do_truncate() looks misleading. ----- Start of patch ----- diff -ur linux-2.6.18-rc6-org/include/linux/fs.h linux-2.6.18-rc6-new/include/linux/fs.h --- linux-2.6.18-rc6-org/include/linux/fs.h 2006-09-04 12:53:15.000000000 +0900 +++ linux-2.6.18-rc6-new/include/linux/fs.h 2006-09-07 16:18:23.000000000 +0900 @@ -1418,7 +1418,7 @@ /* fs/open.c */ -extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs, +extern int do_truncate(struct dentry *, loff_t length, unsigned int time_attrs, struct file *filp); extern long do_sys_open(int fdf, const char __user *filename, int flags, int mode); ----- End of patch ----- Yeah, ptototypo is prototype + typo :) - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html