BKL-removal: Implement a compat_ioctl handler for JFS

The ioctls were already compatible except for the actual values so this
was fairly easy to do.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
This commit is contained in:
Andi Kleen
2008-01-27 17:02:02 -06:00
committed by Dave Kleikamp
parent baab81fa51
commit ef1fc2f01e
5 changed files with 27 additions and 0 deletions

View File

@@ -1557,6 +1557,9 @@ const struct file_operations jfs_dir_operations = {
.readdir = jfs_readdir,
.fsync = jfs_fsync,
.unlocked_ioctl = jfs_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = jfs_compat_ioctl,
#endif
};
static int jfs_ci_hash(struct dentry *dir, struct qstr *this)