jfs: convert to fileattr
[linux-2.6-microblaze.git] / fs / jfs / file.c
index 28b70e7..1d732fd 100644 (file)
@@ -130,6 +130,8 @@ int jfs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
 const struct inode_operations jfs_file_inode_operations = {
        .listxattr      = jfs_listxattr,
        .setattr        = jfs_setattr,
+       .fileattr_get   = jfs_fileattr_get,
+       .fileattr_set   = jfs_fileattr_set,
 #ifdef CONFIG_JFS_POSIX_ACL
        .get_acl        = jfs_get_acl,
        .set_acl        = jfs_set_acl,
@@ -147,7 +149,5 @@ const struct file_operations jfs_file_operations = {
        .fsync          = jfs_fsync,
        .release        = jfs_release,
        .unlocked_ioctl = jfs_ioctl,
-#ifdef CONFIG_COMPAT
-       .compat_ioctl   = jfs_compat_ioctl,
-#endif
+       .compat_ioctl   = compat_ptr_ioctl,
 };