|
|
|
[PATCH] Increase file size limit on FreeBSD UFS flavours | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Increase the file size limit on FreeBSD UFS flavours. Signed-off-by: Vladimir Serbinenko <phcoder@xxxxxxxxx> diff --git a/fs/ufs/super.c b/fs/ufs/super.c index ac8e279..7e80a68 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c @@ -768,6 +768,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) uspi->s_fshift = 9; uspi->s_sbsize = super_block_size = 1536; uspi->s_sbbase = 0; + sb->s_maxbytes = MAX_LFS_FILESIZE; flags |= UFS_DE_44BSD | UFS_UID_44BSD | UFS_ST_44BSD | UFS_CG_44BSD; break; case UFS_MOUNT_UFSTYPE_UFS2: @@ -778,6 +779,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) uspi->s_fshift = 9; uspi->s_sbsize = super_block_size = 1536; uspi->s_sbbase = 0; + sb->s_maxbytes = MAX_LFS_FILESIZE; flags |= UFS_TYPE_UFS2 | UFS_DE_44BSD | UFS_UID_44BSD | UFS_ST_44BSD | UFS_CG_44BSD; break;
Attachment:
signature.asc
Description: OpenPGP digital signature
[Linux Ext4 Filesystem] [Ecryptfs] [AutoFS] [Kernel Newbies] [Share Photos] [Security] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Cachefs] [Reiser Filesystem] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [CEPH Filesystem]
![]() |