]> err.no Git - linux-2.6/blobdiff - fs/xfs/linux-2.6/xfs_ioctl.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / fs / xfs / linux-2.6 / xfs_ioctl.c
index a9952e490ac9c7458cc5110e7d84b09fc45c867b..f34bd010eb51a2466b6c7d77c4b42d72ca1109a6 100644 (file)
@@ -732,7 +732,7 @@ xfs_ioctl(
                 * Only allow the sys admin to reserve space unless
                 * unwritten extents are enabled.
                 */
-               if (!XFS_SB_VERSION_HASEXTFLGBIT(&mp->m_sb) &&
+               if (!xfs_sb_version_hasextflgbit(&mp->m_sb) &&
                    !capable(CAP_SYS_ADMIN))
                        return -EPERM;