xfs: kill off l_sectbb_mask
There remains only one user of the l_sectbb_mask field in the log structure. Just kill it off and compute the mask where needed from the power-of-2 sector size. (Only update from last post is to accomodate the changes in the previous patch in the series.) Signed-off-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
69ce58f08a
commit
48389ef175
3 changed files with 10 additions and 9 deletions
|
@ -1089,7 +1089,6 @@ xlog_alloc_log(xfs_mount_t *mp,
|
|||
}
|
||||
}
|
||||
log->l_sectBBsize = 1 << log2_size;
|
||||
log->l_sectbb_mask = log->l_sectBBsize - 1;
|
||||
|
||||
xlog_get_iclog_buffer_size(mp, log);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue