From 4990e576c6aa18048dd2341a736118383a5f063d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 28 Oct 2016 22:42:56 +0000 Subject: [PATCH] Enable .zfs/snapshot for 32-bit systems Originally the .zfs/snapshot directory was disabled for 32-bit systems because 64-bit inode numbers were not supported. This is no longer the case and this functionality can be enabled by default. Reviewed-by: Tom Caputi Reviewed-by: Tim Chase Signed-off-by: Brian Behlendorf Issue #5347 Closes #2002 --- module/zfs/zfs_ctldir.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index 78bc79740..c7a93edfc 100644 --- a/module/zfs/zfs_ctldir.c +++ b/module/zfs/zfs_ctldir.c @@ -548,7 +548,6 @@ zfsctl_inode_lookup(zfs_sb_t *zsb, uint64_t id, int zfsctl_create(zfs_sb_t *zsb) { -#if defined(CONFIG_64BIT) ASSERT(zsb->z_ctldir == NULL); zsb->z_ctldir = zfsctl_inode_alloc(zsb, ZFSCTL_INO_ROOT, @@ -557,9 +556,6 @@ zfsctl_create(zfs_sb_t *zsb) return (SET_ERROR(ENOENT)); return (0); -#else - return (SET_ERROR(EOPNOTSUPP)); -#endif /* CONFIG_64BIT */ } /*