diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-07-25 01:46:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:34 -0700 |
commit | 4596c8aaf96e8634ca755c9f34b91420a39bebd4 (patch) | |
tree | e9ef95f9bf619dfa50c2bde1de553b32860d469c /fs/fat/dir.c | |
parent | 8d44d9741f6808c107a144f469fb89e6fe7c55e3 (diff) | |
download | linux-4596c8aaf96e8634ca755c9f34b91420a39bebd4.tar.bz2 |
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>
Diffstat (limited to 'fs/fat/dir.c')
0 files changed, 0 insertions, 0 deletions