]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
fat: fix VFAT_IOCTL_READDIR_xxx and cleanup for userland
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Fri, 25 Jul 2008 08:46:42 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:34 +0000 (10:53 -0700)
commit4596c8aaf96e8634ca755c9f34b91420a39bebd4
treee9ef95f9bf619dfa50c2bde1de553b32860d469c
parent8d44d9741f6808c107a144f469fb89e6fe7c55e3
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 <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/msdos_fs.h