-# LC_FOPS_ITERATE_SHARED
-#
-# 4.7 commit ae05327a00fd47c34dfe25294b359a3f3fef96e8
-# ext4: switch to ->iterate_shared()
-# this replaces ext4_dir_operations iterate with iterate_shared.
-# dir_relaxed_shared() was also added in this commit, so we can
-# use that function to verify that the ext4_dir_operations is using
-# iterate_shared.
-#
-AC_DEFUN([LC_FOPS_ITERATE_SHARED], [
-LB_CHECK_COMPILE([if ext4_dir_operations uses iterate_shared],
-iterate_shared, [
- #include <linux/fs.h>
-],[
- ((struct file_operations *)0)->iterate_shared(NULL, NULL);
- dir_relax_shared(NULL);
-],[
- AC_DEFINE(HAVE_ITERATE_SHARED, 1,
- ['iterate_shared' is available])
-])
-]) # LC_FOPS_ITERATE_SHARED
-
-#