Etienne Dechamps 476ff5a4da Handle any invalidate_inodes_check prototype.
In the comments of commit 723aa3b0c2eed070f7eeadd2ce2d87f46da6d0f8,
mmatuska reported that the test for invalidate_inodes_check() is broken
if invalidate_inodes() takes two arguments.

This patch fixes the issue by resorting to another approach for
detecting invalidate_inodes_check(): is simply checks if
invalidate_inodes is defined as a macro. If it is, then it concludes
that invalidate_inodes_check() is available. This will continue to work
even if the prototype of invalidate_inodes_check() changes over time.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #148
2012-08-06 11:39:49 -07:00
..
2010-09-02 16:12:02 -07:00
2010-09-02 16:12:02 -07:00
2010-09-02 16:12:02 -07:00
2010-09-02 16:12:02 -07:00
2010-11-30 10:36:58 -08:00
2010-09-02 16:12:02 -07:00
2010-09-05 21:49:05 -07:00
2010-05-17 15:18:00 -07:00