diff options
Diffstat (limited to 'fs/xfs/xfs_linux.h')
-rw-r--r-- | fs/xfs/xfs_linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h index 6a51619d8690..c31d2c2eadc4 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_linux.h | |||
@@ -384,4 +384,10 @@ static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y) | |||
384 | #endif /* XFS_WARN */ | 384 | #endif /* XFS_WARN */ |
385 | #endif /* DEBUG */ | 385 | #endif /* DEBUG */ |
386 | 386 | ||
387 | #ifdef CONFIG_XFS_RT | ||
388 | #define XFS_IS_REALTIME_INODE(ip) ((ip)->i_d.di_flags & XFS_DIFLAG_REALTIME) | ||
389 | #else | ||
390 | #define XFS_IS_REALTIME_INODE(ip) (0) | ||
391 | #endif | ||
392 | |||
387 | #endif /* __XFS_LINUX__ */ | 393 | #endif /* __XFS_LINUX__ */ |