git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Register the space accounting callback even when we don't have the ZPL.
[zfs.git]
/
module
/
zfs
/
zfs_log.c
diff --git
a/module/zfs/zfs_log.c
b/module/zfs/zfs_log.c
index
26ab782
..
59a6451
100644
(file)
--- a/
module/zfs/zfs_log.c
+++ b/
module/zfs/zfs_log.c
@@
-22,6
+22,8
@@
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+#ifdef HAVE_ZPL
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
@@
-674,3
+676,5
@@
zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp,
itx->itx_sync = (zp->z_sync_cnt != 0);
zil_itx_assign(zilog, itx, tx);
}
itx->itx_sync = (zp->z_sync_cnt != 0);
zil_itx_assign(zilog, itx, tx);
}
+
+#endif /* HAVE_ZPL */