diff options
author | Chunwei Chen <[email protected]> | 2017-05-09 10:38:46 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-09 10:38:46 -0700 |
commit | e624cd1959904735eda81f1a9a45d99848bb3503 (patch) | |
tree | 0192274adaa7ec1af075f1009d5989de8d4c4323 /include/sys/zfs_context.h | |
parent | a0e84010c94570fd2b6c8b43da49f0cd3e1a8e09 (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 'include/sys/zfs_context.h')
-rw-r--r-- | include/sys/zfs_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index b4f63e19c..6163b2fbf 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -799,7 +799,7 @@ typedef int fstrans_cookie_t; extern fstrans_cookie_t spl_fstrans_mark(void); extern void spl_fstrans_unmark(fstrans_cookie_t); -extern int spl_fstrans_check(void); +extern int __spl_pf_fstrans_check(void); #endif /* _KERNEL */ #endif /* _SYS_ZFS_CONTEXT_H */ |