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
Remove inconsistent use of EOPNOTSUPP
[zfs.git]
/
module
/
zfs
/
zfs_sa.c
diff --git
a/module/zfs/zfs_sa.c
b/module/zfs/zfs_sa.c
index
d141e43
..
88fd789
100644
(file)
--- a/
module/zfs/zfs_sa.c
+++ b/
module/zfs/zfs_sa.c
@@
-67,7
+67,7
@@
sa_attr_reg_t zfs_attr_table[ZPL_END+1] = {
};
#ifdef _KERNEL
};
#ifdef _KERNEL
-
+#ifdef HAVE_ZPL
int
zfs_sa_readlink(znode_t *zp, uio_t *uio)
{
int
zfs_sa_readlink(znode_t *zp, uio_t *uio)
{
@@
-331,4
+331,5
@@
zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp)
}
}
}
}
+#endif /* HAVE_ZPL */
#endif
#endif