diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 805cab7b2770..815ae978e3bd 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
| @@ -1296,7 +1296,10 @@ xfs_isize_check( | |||
| 1296 | if ((ip->i_d.di_mode & S_IFMT) != S_IFREG) | 1296 | if ((ip->i_d.di_mode & S_IFMT) != S_IFREG) |
| 1297 | return; | 1297 | return; |
| 1298 | 1298 | ||
| 1299 | if (ip->i_d.di_flags & (XFS_DIFLAG_REALTIME | XFS_DIFLAG_EXTSIZE)) | 1299 | if (XFS_IS_REALTIME_INODE(ip)) |
| 1300 | return; | ||
| 1301 | |||
| 1302 | if (ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) | ||
| 1300 | return; | 1303 | return; |
| 1301 | 1304 | ||
| 1302 | nimaps = 2; | 1305 | nimaps = 2; |
