Add 'inline' keyword
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Jul 2012 23:56:24 +0000 (16:56 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Jul 2012 20:41:00 +0000 (13:41 -0700)
commit10be533e3344f523e1b8d6ab4f0658897a95ac02
treefa070285cbf7117ca6800e4a282369e5b93ca546
parent0a6b03d3b87cf17ac6159395df93ba3fcfdddc45
Add 'inline' keyword

The '__attribute__((always_inline))' does not strictly imply
'inline'.  Newer versions of gcc detect this misuse and issue
the following warning.  Including the missing 'inline' resolves
the build warning.

    ./module/zfs/dsl_scan.c:758:1:error: always_inline function
    might not be inlinable [-Werror=attributes]

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/dsl_scan.c