aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2017-05-09 10:38:46 -0700
committerBrian Behlendorf <[email protected]>2017-05-09 10:38:46 -0700
commite624cd1959904735eda81f1a9a45d99848bb3503 (patch)
tree0192274adaa7ec1af075f1009d5989de8d4c4323 /lib
parenta0e84010c94570fd2b6c8b43da49f0cd3e1a8e09 (diff)
Linux 4.12 compat: PF_FSTRANS was removed
zfsonlinux/spl@8f87971 added __spl_pf_fstrans_check for the xfs related check, so we use them accordingly. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #6113
Diffstat (limited to 'lib')
-rw-r--r--lib/libzpool/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c
index 40b96daba..ed9c1a9ef 100644
--- a/lib/libzpool/kernel.c
+++ b/lib/libzpool/kernel.c
@@ -1500,7 +1500,7 @@ spl_fstrans_unmark(fstrans_cookie_t cookie)
}
int
-spl_fstrans_check(void)
+__spl_pf_fstrans_check(void)
{
return (0);
}