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 <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #6113
This commit is contained in:
Chunwei Chen
2017-05-09 10:38:46 -07:00
committed by Brian Behlendorf
parent a0e84010c9
commit e624cd1959
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1500,7 +1500,7 @@ spl_fstrans_unmark(fstrans_cookie_t cookie)
}
int
spl_fstrans_check(void)
__spl_pf_fstrans_check(void)
{
return (0);
}