summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-08-05 01:25:14 +0000
committerpfg <pfg@FreeBSD.org>2014-08-05 01:25:14 +0000
commit4600198022c5ffc16ad7993cec19b51259a9f2bb (patch)
tree41c285951dccb49e52ffb8858eb2ad8eb609bfd7 /sys/fs
parenta160f7bc63d16389899eca66d9a5847f9895493b (diff)
downloadFreeBSD-src-4600198022c5ffc16ad7993cec19b51259a9f2bb.zip
FreeBSD-src-4600198022c5ffc16ad7993cec19b51259a9f2bb.tar.gz
Revert r269523:
Providing a higher EXT2_LINK_MAX limit is a bad idea for ext2/3. Discussed with: bde
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ext2fs/ext2_dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_dir.h b/sys/fs/ext2fs/ext2_dir.h
index 5aed64c..8d92882 100644
--- a/sys/fs/ext2fs/ext2_dir.h
+++ b/sys/fs/ext2fs/ext2_dir.h
@@ -72,7 +72,7 @@ struct ext2fs_direct_2 {
/*
* Maximal count of links to a file
*/
-#define EXT2_LINK_MAX LINK_MAX
+#define EXT2_LINK_MAX 32000
/*
* Ext2 directory file types. Only the low 3 bits are used. The
OpenPOWER on IntegriCloud