summaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
commit74a9f2e1b4d3ab45a9f72cb5b556c9f521524ab3 (patch)
tree7c4cdb103ab1b388c9852a88bd6fb1e73eba0b5c /fs/affs
parentee6374c8b0d333c08061c6a97bc77090d7461225 (diff)
Merge with Linux 2.4.3.
Note that mingetty does no longer work with serial console, you have to switch to another getty like getty_ps. This commit also includes a fix for a setitimer bug which did prevent getty_ps from working on older kernels.
Diffstat (limited to 'fs/affs')
-rw-r--r--fs/affs/super.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index c77c3410c..78aa98372 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -415,6 +415,12 @@ got_root:
s->s_flags |= MS_NODEV | MS_NOSUID;
+ /*
+ * Max file size is 2Gb
+ */
+
+ s->s_maxbytes = MAX_NON_LFS;
+
/* Keep super block in cache */
bb = affs_bread(dev,root_block,s->s_blocksize);
if (!bb)