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

Arnd Bergmann
2005-11-07T10:40:34Z

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.