Re: [PATCH 17/25] vfat: move ioctl32 code to fs/fat/dir.c

From: Arnd Bergmann
Date: Mon Nov 07 2005 - 05:40:26 EST


On Maandag 07 November 2005 04:37, Christoph Hellwig wrote:
> > +     set_fs(KERNEL_DS);
> > +     ret = fat_dir_ioctl(file->f_dentry->d_inode, file, cmd, (unsigned long) &d);
> > +     set_fs(oldfs);
>
> In fact there's even a much better way to implement this, let the
> ioctls call __fat_readdir directly with a filldir callback that directly
> works in compat_dirent structures.

Yes, I'll do that.

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/