From: OGAWA Hirofumi Date: Fri, 25 Jul 2008 08:46:42 +0000 (-0700) Subject: fat: fix VFAT_IOCTL_READDIR_xxx and cleanup for userland X-Git-Tag: v2.6.27-rc1~411 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4596c8aaf96e8634ca755c9f34b91420a39bebd4;p=pandora-kernel.git fat: fix VFAT_IOCTL_READDIR_xxx and cleanup for userland "struct dirent" is a kernel type here, but is a **different type** in userspace! This means both the structure and the IOCTL number is wrong! So, this adds new "struct __fat_dirent" to generate correct IOCTL number. And kernel stuff moves to under __KERNEL__. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed