Andreas Gruenbacher 9a38662ba4 gfs2: Remove sdp->sd_jheightsize
GFS2 keeps two arrarys in the superblock that define the maximum size of
an inode depending on the inode's height: sdp->sd_heightsize defines the
heights in units of sb->s_blocksize; sdp->sd_jheightsize defines them in
units of sb->s_blocksize - sizeof(struct gfs2_meta_header).  These
arrays are used to determine when additional layers of indirect blocks
are needed.  The second array is used for directories which have an
additional gfs2_meta_header at the beginning of each block.

Distinguishing between these two cases makes no sense: the height
required for representing N blocks will come out the same no matter if
the calculation is done in gross (sb->s_blocksize) or net
(sb->s_blocksize - sizeof(struct gfs2_meta_header)) units.

Stuffed directories don't have an additional gfs2_meta_header, but the
stuffed case is handled separately for both files and directories,
anyway.

Remove the unncessary sdp->sd_jheightsize array.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2018-04-16 09:25:21 -07:00
..
2016-05-12 22:28:05 -04:00
2018-04-16 09:25:21 -07:00
2016-06-27 09:47:09 -05:00
2018-03-08 09:26:20 -07:00
2016-06-27 09:47:08 -05:00
2008-06-27 09:39:44 +01:00
2018-04-12 09:41:19 -07:00
2018-04-16 09:25:21 -07:00
2018-03-08 09:26:20 -07:00
2018-02-01 11:25:31 -07:00
2018-01-25 10:18:06 -07:00
2018-01-23 07:38:53 -07:00
2018-04-16 09:25:21 -07:00
2018-03-08 09:26:20 -07:00
2017-04-19 08:25:43 -04:00
2018-03-28 01:39:02 -04:00
2012-01-11 09:23:05 +00:00
2017-08-25 18:47:18 -05:00
2015-12-06 21:25:17 -05:00