nilfs2: add compat ioctl
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 3 Feb 2011 12:26:17 +0000 (21:26 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 8 Mar 2011 05:58:30 +0000 (14:58 +0900)
commit828b1c50ae11e6dda68f8dfefe43b74c7182b157
tree9c258f65382865edb71e06bf11007071fb058806
parentcde98f0f84ccff78e87235cb7b551747d6ad00de
nilfs2: add compat ioctl

The current FS_IOC_GETFLAGS/SETFLAGS/GETVERSION will fail if
application is 32 bit and kernel is 64 bit.

This issue is avoidable by adding compat_ioctl method.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/dir.c
fs/nilfs2/file.c
fs/nilfs2/ioctl.c
fs/nilfs2/nilfs.h