diff options
Diffstat (limited to 'fs/xfs/xfs_ioctl32.c')
-rw-r--r-- | fs/xfs/xfs_ioctl32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index 54e623bfbb85..f9ccb7b7c043 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/fs/xfs/xfs_ioctl32.c | |||
@@ -454,23 +454,23 @@ xfs_compat_attrmulti_by_handle( | |||
454 | &ops[i].am_length, ops[i].am_flags); | 454 | &ops[i].am_length, ops[i].am_flags); |
455 | break; | 455 | break; |
456 | case ATTR_OP_SET: | 456 | case ATTR_OP_SET: |
457 | ops[i].am_error = mnt_want_write(parfilp->f_path.mnt); | 457 | ops[i].am_error = mnt_want_write_file(parfilp); |
458 | if (ops[i].am_error) | 458 | if (ops[i].am_error) |
459 | break; | 459 | break; |
460 | ops[i].am_error = xfs_attrmulti_attr_set( | 460 | ops[i].am_error = xfs_attrmulti_attr_set( |
461 | dentry->d_inode, attr_name, | 461 | dentry->d_inode, attr_name, |
462 | compat_ptr(ops[i].am_attrvalue), | 462 | compat_ptr(ops[i].am_attrvalue), |
463 | ops[i].am_length, ops[i].am_flags); | 463 | ops[i].am_length, ops[i].am_flags); |
464 | mnt_drop_write(parfilp->f_path.mnt); | 464 | mnt_drop_write_file(parfilp); |
465 | break; | 465 | break; |
466 | case ATTR_OP_REMOVE: | 466 | case ATTR_OP_REMOVE: |
467 | ops[i].am_error = mnt_want_write(parfilp->f_path.mnt); | 467 | ops[i].am_error = mnt_want_write_file(parfilp); |
468 | if (ops[i].am_error) | 468 | if (ops[i].am_error) |
469 | break; | 469 | break; |
470 | ops[i].am_error = xfs_attrmulti_attr_remove( | 470 | ops[i].am_error = xfs_attrmulti_attr_remove( |
471 | dentry->d_inode, attr_name, | 471 | dentry->d_inode, attr_name, |
472 | ops[i].am_flags); | 472 | ops[i].am_flags); |
473 | mnt_drop_write(parfilp->f_path.mnt); | 473 | mnt_drop_write_file(parfilp); |
474 | break; | 474 | break; |
475 | default: | 475 | default: |
476 | ops[i].am_error = EINVAL; | 476 | ops[i].am_error = EINVAL; |