vfs: mnt_drop_write_file()
[deliverable/linux.git] / fs / xfs / xfs_ioctl.c
index b436e17c753e0d65b125c0cc1cbcaeb2ced2746a..76f3ca5cfc361f962fa40a72243a525f191a618f 100644 (file)
@@ -566,7 +566,7 @@ xfs_attrmulti_by_handle(
                                        dentry->d_inode, attr_name,
                                        ops[i].am_attrvalue, ops[i].am_length,
                                        ops[i].am_flags);
-                       mnt_drop_write(parfilp->f_path.mnt);
+                       mnt_drop_write_file(parfilp);
                        break;
                case ATTR_OP_REMOVE:
                        ops[i].am_error = mnt_want_write_file(parfilp);
@@ -575,7 +575,7 @@ xfs_attrmulti_by_handle(
                        ops[i].am_error = xfs_attrmulti_attr_remove(
                                        dentry->d_inode, attr_name,
                                        ops[i].am_flags);
-                       mnt_drop_write(parfilp->f_path.mnt);
+                       mnt_drop_write_file(parfilp);
                        break;
                default:
                        ops[i].am_error = EINVAL;
This page took 0.027154 seconds and 5 git commands to generate.