nilfs2: remove compat ioctl code
This removes compat code from the nilfs ioctls and applies the same function for both .ioctl and .compat_ioctl file operations. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
dc498d09be
commit
8082d36aed
@@ -142,7 +142,7 @@ struct file_operations nilfs_file_operations = {
|
||||
.aio_write = generic_file_aio_write,
|
||||
.ioctl = nilfs_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = nilfs_compat_ioctl,
|
||||
.compat_ioctl = nilfs_ioctl,
|
||||
#endif /* CONFIG_COMPAT */
|
||||
.mmap = nilfs_file_mmap,
|
||||
.open = generic_file_open,
|
||||
|
Reference in New Issue
Block a user