summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_mount.c
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2022-04-25 13:48:28 -0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-04-25 14:00:33 -0500
commite471e5942c006532a013eefde239ce1e783ac2d9 (patch)
treecad119436e85d9fe80eaad37a198b1a8dad76ec3 /fs/jfs/jfs_mount.c
parent0d4837fdb796f99369cf7691d33de1b856bcaf1f (diff)
downloadlinux-e471e5942c006532a013eefde239ce1e783ac2d9.tar.gz
linux-e471e5942c006532a013eefde239ce1e783ac2d9.tar.bz2
linux-e471e5942c006532a013eefde239ce1e783ac2d9.zip
fs/jfs: Remove dead code
Since the JFS code was first added to Linux, there has been code hidden in ifdefs for some potential future features such as defragmentation and supporting block sizes other than 4KB. There has been no ongoing development on JFS for many years, so it's past time to remove this dead code from the source. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_mount.c')
-rw-r--r--fs/jfs/jfs_mount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c
index aa4ff7bcaff2..48d1f70f786c 100644
--- a/fs/jfs/jfs_mount.c
+++ b/fs/jfs/jfs_mount.c
@@ -307,13 +307,11 @@ static int chkSuper(struct super_block *sb)
}
bsize = le32_to_cpu(j_sb->s_bsize);
-#ifdef _JFS_4K
if (bsize != PSIZE) {
- jfs_err("Currently only 4K block size supported!");
+ jfs_err("Only 4K block size supported!");
rc = -EINVAL;
goto out;
}
-#endif /* _JFS_4K */
jfs_info("superblock: flag:0x%08x state:0x%08x size:0x%Lx",
le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state),