Linus Torvalds wrote:
> Anybody want to send in the patch that just generates separate versions 
> for
> 
>       loff_t eio_llseek(struct file *file, loff_t offset, int origin)
>       {
>               return -EIO;
>       }
> 
>       int eio_readdir(struct file *filp, void *dirent, filldir_t filldir)
>       {
>               return -EIO;
>       ..
> 
> and so on?

That's more or less what I sent at http://lkml.org/lkml/2007/1/3/244

+static int bad_file_readdir(struct file * filp, void * dirent,
+                       filldir_t filldir)
+{
+       return -EIO;
+}

... etc

Thanks,
-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to