Linux 2.6.39 compat, invalidate_inodes()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 18 Apr 2011 21:12:28 +0000 (14:12 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Apr 2011 15:57:23 +0000 (08:57 -0700)
commite30c0ada6d0174e044b96fbedf5946c3be66e956
treea7316001749496669f69a89555bd7c24469dc501
parentcbf81d4c3b1344145519c4187e10251822204889
Linux 2.6.39 compat, invalidate_inodes()

Update code to use the spl_invalidate_inodes() wrapper.  This hides
some of the complexity of determining if invalidate_inodes() was
exported, and if so what is its prototype.  The second argument
of spl_invalidate_inodes() determined the behavior of how dirty
inodes are handled.  By passing a zero we are indicated that we
want those inodes to be treated as busy and skipped.
module/zfs/zfs_vfsops.c