ext[234]: move over to 'check_acl' permission model
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / xfs / xfs_rename.c
index 58f85e9cd11d4c90c5d4cae03b35539a181f0da9..b81deea0ce1944ec4f34e0a1b020128274eaf4e4 100644 (file)
@@ -166,7 +166,8 @@ xfs_rename(
        /*
         * Attach the dquots to the inodes
         */
-       if ((error = XFS_QM_DQVOPRENAME(mp, inodes))) {
+       error = xfs_qm_vop_rename_dqattach(inodes);
+       if (error) {
                xfs_trans_cancel(tp, cancel_flags);
                goto std_return;
        }