aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-10-28 22:42:56 +0000
committerBrian Behlendorf <[email protected]>2016-11-02 12:14:45 -0700
commit4990e576c6aa18048dd2341a736118383a5f063d (patch)
treee333f5e6349a9f523cf254ee50011e57d9a564d1
parent48d3eb40c71e5840e4d9e9af7addcfef7c382511 (diff)
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 <[email protected]> Reviewed-by: Tim Chase <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #5347 Closes #2002
-rw-r--r--module/zfs/zfs_ctldir.c4
1 files changed, 0 insertions, 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 */
}
/*