diff options
Diffstat (limited to 'fs/xfs/xfs_dfrag.c')
| -rw-r--r-- | fs/xfs/xfs_dfrag.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dfrag.c b/fs/xfs/xfs_dfrag.c index 4ad29cbb4233..03a42d21610a 100644 --- a/fs/xfs/xfs_dfrag.c +++ b/fs/xfs/xfs_dfrag.c | |||
| @@ -185,8 +185,7 @@ xfs_swap_extents( | |||
| 185 | } | 185 | } |
| 186 | 186 | ||
| 187 | /* Verify both files are either real-time or non-realtime */ | 187 | /* Verify both files are either real-time or non-realtime */ |
| 188 | if ((ip->i_d.di_flags & XFS_DIFLAG_REALTIME) != | 188 | if (XFS_IS_REALTIME_INODE(ip) != XFS_IS_REALTIME_INODE(tip)) { |
| 189 | (tip->i_d.di_flags & XFS_DIFLAG_REALTIME)) { | ||
| 190 | error = XFS_ERROR(EINVAL); | 189 | error = XFS_ERROR(EINVAL); |
| 191 | goto error0; | 190 | goto error0; |
| 192 | } | 191 | } |
