diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mm_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm_compat.h b/include/linux/mm_compat.h index b375f9b39..14fc3d7bb 100644 --- a/include/linux/mm_compat.h +++ b/include/linux/mm_compat.h @@ -54,7 +54,7 @@ * As for 2.6.39 invalidate_inodes() was updated to take a second * argument which controls how dirty inodes should be handled. */ -#ifdef HAVE_INVALIDATE_INODES +#if defined(HAVE_INVALIDATE_INODES) || defined(HAVE_INVALIDATE_INODES_CHECK) # ifdef HAVE_2ARGS_INVALIDATE_INODES # define spl_invalidate_inodes(sb, kd) invalidate_inodes(sb, kd) # else @@ -70,7 +70,7 @@ typedef int (*invalidate_inodes_t)(struct super_block *sb); extern invalidate_inodes_t invalidate_inodes_fn; # define spl_invalidate_inodes(sb, kd) invalidate_inodes_fn(sb) # endif /* HAVE_2ARGS_INVALIDATE_INODES */ -#endif /* HAVE_INVALIDATE_INODES */ +#endif /* HAVE_INVALIDATE_INODES || HAVE_INVALIDATE_INODES_CHECK */ #if !defined(HAVE_SHRINK_CONTROL_STRUCT) struct shrink_control { |